Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-11 Thread David Dorward
On 11/11/05, Graham Cook <[EMAIL PROTECTED]> wrote: > And the reason that these fit more elegantly than a table? Compare the code > above to a table below (which really should also should include thead, tbody > and col id's), it it just so much more concise and no blank cells. > HomerMarge's laya

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread Graham Cook
Hi Curious, Firstly, correction to dd style, add "margin-left:10.25em;" Secondly, the semantics > Marge > Homer's wife > Your example would define the other way around, wouldn't it? I believe your original requirement of name: value fits the example by Chris above, and does not swap the items

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread Christian Heilmann
> > Here's a case for a definition list. Following code is very basic, but you > > can build on it however you like. > > A definition list is certainly better semantic markup than the span > solution. Ok, this might be getting very hypothetic, but I disagree. The definition description describes t

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread David Dorward
On 10/11/05, Curious <[EMAIL PROTECTED]> wrote: > > How about using a table, as this does look like tabular data to me? > In the new world of CSS, aren't we supposed to avoid tables? No, just the abuse of them (or any other element) for layout. -- David Dorward

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread Nick Fitzsimons
> >> How about using a table, as this does look like tabular data to me? >> Then you could easily align the TH to the right and the TD to the >> left. > > In the new world of CSS, aren't we supposed to avoid tables? > No, we're supposed to avoid the misuse of tables to achieve presentational goals

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread Curious
> Here's a case for a definition list. Following code is very basic, but you > can build on it however you like. A definition list is certainly better semantic markup than the span solution. Your example CSS looked good in IE and Opera. However, in Firefox the dd is displayed below the dt. Than

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-10 Thread Curious
> How about using a table, as this does look like tabular data to me? > Then you could easily align the TH to the right and the TD to the > left. In the new world of CSS, aren't we supposed to avoid tables? > Same applies to your span solution - give the first span a fixed > width, display it b

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-09 Thread Graham Cook
-Original Message- Here's a case for a definition list. Following code is very basic, but you can build on it however you like. Graham Cook www.uaoz.com dt { display:block; float:left; width:10em; text-alig

Re: [css-d] Aligning List Of Name:Value Pairs On Colon

2005-11-09 Thread Christian Heilmann
> I have a list of name:value pairs: > > > > > Name: Value > Another name: Another value > Other name: Other value > > > How about using a table, as this does look like tabular data to me? Then you could easily align the TH to the right and the TD to the lef