sonic1234
asked on
Vertically align radio and checkboxes
Hello,
We are using http://www.formee.org/demo/index.htm
What is the neatest change we can make to the CSS to force the radio and checkboxes to be aligned vertically?
Thank you.
We are using http://www.formee.org/demo/index.htm
What is the neatest change we can make to the CSS to force the radio and checkboxes to be aligned vertically?
Thank you.
<div style="vertical-align:top" >
Day
<asp:DropDownList ID="DropDownList1" runat="server" style="vertical-align:bott om">
</asp:DropDownList>
Hour
<asp:DropDownList ID="DropDownList2" runat="server" style="vertical-align:bott om">
</asp:DropDownList>
</div>
Day
<asp:DropDownList ID="DropDownList1" runat="server" style="vertical-align:bott
</asp:DropDownList>
Hour
<asp:DropDownList ID="DropDownList2" runat="server" style="vertical-align:bott
</asp:DropDownList>
</div>
Change the vertical-align property of your .formee-lbl, .formee label rule ( formee-style.css, about line 39). Use a percentage and adjust accordingly. 8% seems to look nice :)
.formee-lbl, .formee label {
color: #2B2B2B;
font-size: 1.4em;
line-height: 1.3em;
vertical-align: 8%;
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This worked perfectly thanks.
vertical-align: bottom;
}
this is in case of image ..change it for u !