![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please take a look at this page: http://deimos.curious.be/~dusk/contact.php?action=show_booking As you can see the radio/check buttons do not line up with their label. It works with the input fields (like name/email), but only because I gave those a width so that the label + input field fill the formset. Obviously I don't want to specify a width for radio/check buttons, because it looks silly on browsers applying that with. Any other ideas? |
#3
| |||
| |||
|
|
Well, if I understand correctly what you are trying to do, I don't think you need to be floating the labels. Just let them take their normal place in the flow and put a <BR> after each checkbox / radio button. |
#4
| |||
| |||
|
|
http://deimos.curious.be/~dusk/contact.php?action=show_booking As you can see the radio/check buttons do not line up with their label. It works with the input fields (like name/email), but only because I gave those a width so that the label + input field fill the formset. Obviously I don't want to specify a width for radio/check buttons, because it looks silly on browsers applying that with. Any other ideas? I've found no universal solution to form layout. |
#5
| |||
| |||
|
|
Stephen Poley wrote: Well, if I understand correctly what you are trying to do, I don't think you need to be floating the labels. Just let them take their normal place in the flow and put a <BR> after each checkbox / radio button. The reason I use the float is to align the labels to the right. If I just put <label><input><br><label><input><br> etc. there is no alignment. I could get the desired effect easily with a table, but I want it to work with just css. |
#6
| |||
| |||
|
|
Stephen Poley wrote: Well, if I understand correctly what you are trying to do, I don't think you need to be floating the labels. Just let them take their normal place in the flow and put a <BR> after each checkbox / radio button. The reason I use the float is to align the labels to the right. If I just put <label><input><br><label><input><br> etc. there is no alignment. I could get the desired effect easily with a table, but I want it to work with just css. |
![]() |
| Thread Tools | |
| Display Modes | |
| |