[thelist] Titles displaying inline...

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Thu Mar 21 11:24:01 CST 2002


> Are you talking about using something like:
>
> <SPAN CLASS="title">Title text</SPAN><SPAN
> CLASS="ParagraphText">Paragraph
> text...</SPAN>
>
> ?
>
> IIRC spans are non-breaking unlike divs.

Nonono, someone found a CSS solution based on tags hx+p.

I've experimented and found that this works (at least in NN6):

CSS:
h1 { display:inline; }
h1+p { display:inline }

HTML:
<h1>titre</h1>
<p>fdgf</p>
<p>fdgf</p>

It's for the sake of argument in an internal newsgroup in my company.

Thanks anyway.
stef



More information about the thelist mailing list