Previous Message
Next Message

Header Width

Sent by Thierry Koblentz on 1 September 2005 19:07


> Another way (besides making them inline) is to float them right or
> left.  Floated block elements shrink to the size of their contents.
> Then, of course, you need to cancel the float with the next element
> on the page so that it doesn't align next to the headline:
>          h1
>          {
>             float: left;
>          }

I'm not sure if this is a "safe" solution; I wouldn't use float without an
explicite width...

Thierry | www.TJKDesign.com

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: