[TYPO3] removing blank line after <H2>
Fabian Koenig
koenig at bluhouse.de
Mon Mar 12 09:16:47 CET 2007
Hi.
To get an automatic pagebreak after <h1>,
use following:
<h1 style="display:block;margin:0 0 0 0;">|</h1>
The example in my last Posting is to remove ALL breaks of the h1-Tag.
Example:
Use
"<h1 style="display:block;margin:0 0 0 0;">foo</h1>bar"
to get
==out==
foo
bar
==out==
Use
"<h1 style="display:inline;">foo</h1>bar"
to get
==out==
foobar
==out==
With display:block; you get a linebreak after your h1-tag.
display:inline; removes ALL linebreaks.
regards.
Fabian Koenig schrieb:
> Hi!
>
> Try this:
> <H2 style="display:inline;"> | </H2>
> (It's not a padding and no margin. It's just a "block" with a
> non-visible height-attribute.)
>
> I hopeit helps.
> (Sorry, my english is not good.)
>
>
> regards,
> Fabian
>
>
> grant hudson schrieb:
>> Does anyone know how to remove a blank line after <H2>? I would like
>> the body text to begin immediately after <H2> with no blank line in
>> between.
>>
>> I have tried using: margin: 0 0 0 0; on H2 in the stylesheet. No
>> luck. The following in Constants did not work either:
>>
>> content {
>> wrap.header1 = <H1> | </H1>
>> wrap.header2 = <H2 style="margin: 0 0 0 0;"> | </H2>
>> wrap.header3 = <H3> | </H3>
>> wrap.header4 = <H4> | </H4>
>> wrap.bodytext = <P class="p"> | </P>
>> case.header1 = |
>> case.header2 = |
>> headerSpace = 0
>> space = 0
>> }
>>
>> Any help would be appreciated.
>>
>> _________________________________________________________________
>> Find what you need at prices you?ll love. Compare products and save at
>> MSN® Shopping.
>> http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102&tcode=T001MSN20A0701
>>
>>
More information about the TYPO3-english
mailing list