Sent by CJ Larson on 1 September 2005 20:08
Wouldn't you be able to have { display: inline; clear: both; } instead
of floating them?
-----Original Message-----
> The header elements are known as "block level" elements. You can turn
them into "inline" elements to with the following style rule:
>
> h1, h2, h3, h4, h5, h6 {
> display: inline;
> }
-----Original Message-----
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>Headline</h1>
<p id="byline">by Writer</p>
h1
{
float: left;
}
p.byline
{
clear: left;
}
______________________________________________________________________
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/