interclubs
asked on
CSS Form Alignment....
I use CSS to align my form w/o tables. It works great, but I want to change it so I can put radio button values on the same line next to each other. This is the code I was using:
#aligned label {position: absolute; text-align:right; width:135px;padding-bottom :4px;margi n-bottom:4 px; }
#aligned input, #aligned textarea, #aligned select { margin-left: 155px;padding-bottom:4px;m argin-bott om:4px; }
#aligned label.check, #aligned label.radio { position:relative; text-align:left; }
and I tried this:
#aligned radio.forminline {margin-left: 5px;}
and then added a class forminline to my radio buttons, but it' didn't work.....
Any ideas?
#aligned label {position: absolute; text-align:right; width:135px;padding-bottom
#aligned input, #aligned textarea, #aligned select { margin-left: 155px;padding-bottom:4px;m
#aligned label.check, #aligned label.radio { position:relative; text-align:left; }
and I tried this:
#aligned radio.forminline {margin-left: 5px;}
and then added a class forminline to my radio buttons, but it' didn't work.....
Any ideas?
Can you post the whole form html code?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.