![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
form TITLE label1 label2 label3 edit1 edit2 edit3 /form Specifically, I want the three text boxes spaced evenly horizontally with their associated labels aligned on top of each. |
|
weblog | http://www.pretletters.net/weblog/weblog.html | webontwerp | http://www.pretletters.net/html/webontwerp.html | zweefvliegen | http://www.pretletters.net/html/vliegen.html | |
#3
| |||
| |||
|
|
How do I do this without tables? |
#4
| |||
| |||
|
|
float:left; applied to it. The subtleties aren't trivial, so read a good example first of how to code this (bluerobot, glish and brainjar sites should all be read first). |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#5
| |||
| |||
|
|
I'm trying to lay out 3 text boxes with associated labels horizontally, |
#6
| |||
| |||
|
|
lotusny78 (AT) yahoo (DOT) com wrote: I'm trying to lay out 3 text boxes with associated labels horizontally, Wrong idea, since it greatly reduces accessibility. Consider how awkward it is when a browser reads all labels first and the user then has to remember which field is for which data. Using <label> elements would solve this problem only partially, so it is better not to create it in the first place. |
|
Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |
#7
| |||
| |||
|
|
Hi all, I'm trying to lay out 3 text boxes with associated labels horizontally, as in the following pseudocode: form TITLE label1 label2 label3 edit1 edit2 edit3 /form Specifically, I want the three text boxes spaced evenly horizontally with their associated labels aligned on top of each. How do I do this without tables? Sean D. |
#8
| |||
| |||
|
|
Specifically, I want the three text boxes spaced evenly horizontally with their associated labels aligned on top of each. - - This could symantically be a definition list. |
|
However, to lay out such you would have to use absolute positioning (because the dt and dd elements aren't nicely bundled together in a containing element). |
![]() |
| Thread Tools | |
| Display Modes | |
| |