> I am wondering if it is possible ti get a data definition list to
> laytout like a 3 column table.
> for example:
> col 1 (dt) col 2 (dd) col 3 (dd)
How about this...
(Styles are inline)
margin: -1em 0 0 0;
Set the default margin for everything in the dl to be a known distance from
the left edge, and a known line height.
Clear floats (because the dds are floated), create some space between terms,
set a known width and then shift the term left by the same distance (back to
the left edge).
Float left, set a known width (so a following dd will also be a know
distance away) and shift the top edge up so that it's in lin with the term
(it would normally be on the line below)
My demo also sets background colours just so that I can see where elements
are, and also an extra class on the second <dd> so you could use alternate
colouring, border, etc.
From: stu [EMAIL-REMOVED]]
Sent: 01 July 2005 15:01
Subject: [css-d] Data Definition list query
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/