[TYPO3] changing headers from <h4> to simple <span>?
Christopher
bedlamhotel at gmail.com
Tue May 23 16:07:43 CEST 2006
Hi,
On 5/23/06, LarryB <l34028836 at hotmail.com> wrote:
> Here's a screenshot of the trouble I'm having:
> http://xs.to/xs.php?h=xs201&d=06212&f=trouble.png
>
> In short, there's an extra blank line between my header and text,
> something which I don't want. That is, I want it to look like the
> bottom item (no gap), not the top item (gap).
>
> As far as I'm able to tell, the problem arises from the headers
> automatically using <h4> tags and the like. Now, I changed my style.css
> file to make the <h4> tag to look less ridiculous, by adding the
> following code:
> h4 {font-family: Arial; color: #000000; font-size: 10pt; margin-left:
> 4pt; font-weight: bold;}
>
> However, this still doesn't solve the problem of that ugly extra line.
> Any ideas?
Yes--remove or change the bottom margin using CSS.
And while you're at it, you should change the units you're using to
em, % or px. Points as a unit of measurement make no sense on screens.
(I.e. since there is no fixed quantity of pixels to each point. % and
Ems are related to the visitor's system settings and pixels are
obviously connected to the visitor's monitor.)
-Christopher
More information about the TYPO3-english
mailing list