in reply to Re: Layout
in thread CGI.pm: Rendering H1 and H2 tags in the same line

I think setting the CSS attribute white-space: pre-wrap on the two header tags will do it. Not sure, though.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Re: Layout
by clscott (Friar) on Nov 13, 2003 at 18:01 UTC
    What's supposed to be the way to do this is display attribute:
    .inline { display: inline } <h1 class='inline'>First</h1><h2 class='inline'> - Second</h2>

    First

    - Second

    Well that's what supposed to work. --
    Clayton