On 06/10/30 11:37 (GMT+0100) morten fjellman apparently typed:

> When I publish an article I can choose to have the h1-tag display in Arial
> Black or just Arial, also the font-size can be set to whatever I wish. The
> problem I'm having is that depending on the font-size Arial Black is given
> the following lead text is overlapped by the letters g, j, p, y. So, if the
> header text have a letter p in it then the bottom part of the p crashes with
> the lead text directly underneath. My question is this: What css must I
> write to make sure the hx-tag never crashes with the text below, regardless
> of it being Arial Black or Arial and regardless of font-size?

> The default css is:
> h1 a {
>     font-size:42px;
>     margin-bottom:5px;
>     font-family: Arial Black, Helvetica, sans-serif;
>     line-height:1.4em;
>     }
> 
> (the heading is also a link, hence the "a")

An "in the wild" testcase would enable others to see what you see. In the
absence of author CSS styles, the problem you describe should never
happen. Judging from the sample of CSS above, likely it is related to an
em line-height setting in an ancestor. Take a look at
http://mrmazda.no-ip.com/auth/line-height-inherit.html and maybe you'll
see the root of the problem.
-- 
"The Lord is my strength and my shield; my heart trusts in him,
and I am helped."                               Psalm 28:7 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to