stu,

> sorry if this has been asked before, but i would like to use CSS
> to format a definition list to make it so that the DD floats to the
> left, with all the DD floated to the right, kind of like using the
> DT as the bullet in a bullet pointed list.
 
> Basically i dont want the text of the DD to wrap around underneath the DT...
 
dt {
   float: left;
   width: 200px;
   clear: both;
}
dd {
   margin-left: 220px;
}

Or something similar...

The dt floats to left. To not stacking all the dt one on another, the
clear: both places it under dt and all previous dd. All dd stay 220px
from the left side of the container (dl).

regards,

  Martin

 

______________________________________________________________________
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