Posted by Mark Parnell on 05/26/05 02:05
Previously in alt.html, Martin Magnusson <martin@-xx-blecket-xx-.org>
said:
> I'm trying to modify a header tag to have a line break before the header
> (like display:block would do and like headers normally behave), but not
> after (like display:inline would do).
ISTM that everyone is trying to make it more complicated than it should
be. Isn't this basically what float is for? Setting float: left; on the
heading seems to do the trick (with an appropriate width, of course).
You may need to play with clears/margins on the surrounding elements,
depending on context.
--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
[Back to original message]
|