Posted by Spartanicus on 11/01/06 14:54
Ben C <spamspam@spam.eggs> wrote:
>>>>>using two floats with width: auto.
>>>>
>>>> One float for all the labels, the other for the controls?
>>>
>>>Exactly.
>>>
>>>> That's not going to work.
>>>
>>>Why not?
>>
>> Have a look at it without CSS.
>
>It looks just the same as if I use semantic markup and display:
>table-cell and remove the CSS.
The correct *semantic* markup for a form with associated text is an HTML
table, not a bunch of *non semantic* divs.
>If things must layout correctly without CSS then we must use
>presentational markup. I didn't think that was the point.
There is nothing presentational about the use of an HTML table in this
case, consider screen readers for example.
--
Spartanicus
Navigation:
[Reply to this message]
|