Michael B Allen wrote:

> On Sat, May 3, 2008 at 8:48 PM, Michael Adams
> <[EMAIL PROTECTED]> wrote:
>>  But the same code is much cleaner without the table
>
> Ahh, I knew that was coming.

And it was easy to predict that illogical and inconvenient (what's the 
default rendering of <dl> and how do you kill it?) use of definition 
list markup was coming.

> I've tried creating forms without tables
> but I could never get the data to line up into ... well ... a table.

It's virtually impossible, with CSS as currently implemented, to create 
good tabular presentation for tabular data without using table markup in 
HTML. In simple cases, you might be able to do with floats or 
positioning and with _explicit_ widths (breaking automatic adjustability 
you get for free with tables).

> And AFAICT your examples don't either. There's no arguing that it's
> cleaner not having form elements woven into a mess of td elements but
> anything else just doesn't give the desired effect.

Huh? What's the desired effect of the <label> markup and how do you get 
it, and why can't you do _that_ in CSS? (I know the _functionality_ of 
<label>, but it works for input fields.)

> So am I missing something here?

I dunno, but I'm missing what you see as problem with the approach you 
described in your first message.

You could use <th> to distinguish the heading-like cells from data 
cells, but then you have the problem of default rendering of <th>, which 
might be unsuitable here - can you rely on CSS for overriding it? You 
could also make "Account Information" a <caption> element, but styling 
captions is a bit problematic.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to