I believe the only way is to hardcode some css on the template or "/umbraco/plugins/umbracoContour/css/defaultform.css" for a specific field name (targeting the div for the field), and then cascading your style from there. The other option with css is to customize the style class "radiobuttonlist" which contour applies (if you want all radiobuttonlists to be displayed horizontally). You can then override the br tag display.
thanks for the reply.. yeah i ended up editing radiobuttonlist and setting the br element to display:none in css.. it's a little hacky if you ask me... but it got me there..
oh i wish they were in ul's then styling would be oh so much easier..
Agreed...I also put in a suggestion request to be able to assign a css style to a field to make things a littler easier...so hopefully it will make a future build.
Radio Buttons Side By Side
Hi Guys,
Contour generates markup like so for radio buttons.. is there any way you can get them to appear side by side.. the br tag creates an issue..
Tom,
I believe the only way is to hardcode some css on the template or "/umbraco/plugins/umbracoContour/css/defaultform.css" for a specific field name (targeting the div for the field), and then cascading your style from there. The other option with css is to customize the style class "radiobuttonlist" which contour applies (if you want all radiobuttonlists to be displayed horizontally). You can then override the br tag display.
-Chris
Hi Chris,
thanks for the reply.. yeah i ended up editing radiobuttonlist and setting the br element to display:none in css.. it's a little hacky if you ask me... but it got me there..
oh i wish they were in ul's then styling would be oh so much easier..
thanks!
Tom
Agreed...I also put in a suggestion request to be able to assign a css style to a field to make things a littler easier...so hopefully it will make a future build.
-Chris
is working on a reply...