How would I tell a stylesheet to not put a line break at the end of an
Hx tag?

e.g.
<h3>My heading</h3> and some more text.

I want the words "and some more text." to appear on the same line.

How would I do this?

display: run-in; does exactly what you're looking for (you could e-mail PPK, who was wandering what's the use of this ;)


The problem is that (AFAIK) it only works in Opera7+,
and there might be -moz-run-in or such.

Alternatively set both elements to display: inline, but it might be problematic
depending on what other (inline) objects you have there.


--
regards, Kornel Lesiński

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to