On Jun 1, 2009, at 8:14 AM, D A wrote:

> s there a way to get the following visual style:
>
> *This is the header* This is the rest
> of the paragraph here. As you can
> see the header is inline visually.
>
> Visually, this works by setting the h2 to be inline.

In theory you could use
h2 {display:run-in;}
<http://www.w3.org/TR/CSS21/visuren.html#run-in>

but that is not supported by Firefox 3, 3.5b4 and IE 6 & 7.

Another option eventually:
h2 {float:left; margin: 0; }

<h2>headline<h2>
<p>my paragraph text that is quite long and should kinda wrap around  
around the H2</p>

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to