![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I tried to build a "form" layout without using table like this http://www.coolshare.com/temp/images/css.jpg In order to get the layout, I need to set the light blue area at each line to a fix size so that I can align the label of each field to against the text field (kind of center alignment) even in case the size of text field vary. That is, with the label area (blue area) size fixed, I can right alight label text and left aligh the input text field. The problem is that firefox and Opera (IE worked fine) don't allow any inline component (either a span or a div with display set to "inline") to have a width. My question is: How can I have a inline area width fixed? |
#3
| |||
| |||
|
|
How can I have a inline area width fixed? Ideally with display: inline-block, but that's not supported by Firefox, which leaves floats as the closest things to inline elements that can have widths set on them. |
![]() |
| Thread Tools | |
| Display Modes | |
| |