> 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.

Thanks,
Curious.


On Thu, Nov 10, 2005 at 11:05:19AM +1100, Graham Cook wrote:
> 
> 
> -----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
> 
>       <style>
>       dt {
>               display:block;
>               float:left;
>               width:10em;
>               text-align : right;
>       }
>       dd {
>               display:block;
>               
>               width:10em;
>               text-align : left;
>       }
> </style>
> <dl>
> 
>         <dt>Name:</dt> <dd>Value</dd>
>         <dt>Another Name:</dt> <dd>Another Value</dd>
>         <dt>Other Name:</dt> <dd>Other Value</dd>
> </dl>
> 
> 
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> 
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to