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 |

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: