This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2004 > why does firefox does not inherit font-styles via CSS?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author why does firefox does not inherit font-styles via CSS?
tomasio

2004-07-26, 7:14 am

Dear Group,

I recently experienced a strange behaviour on firefox 0.9.2 (OS: winxp
prof. SP1): the div.Footnote (see code on
http://tomasio.laudatio.com/jobs/Cl.../stylesheet.css )
is rendered on font-size: 0.8em; although following the CSS 2.1 defs
it should inherit the font-size of the parent element thus resulting
in 0.6 em font-size. on MSIE 6 it renders in the correct site. this
occurs on all of the websites of
http://tomasio.laudatio.com/jobs/Claudia/Website/
except
http://tomasio.laudatio.com/jobs/Cl...ted_beauty.html
..
does anyone has an idea whats happening here?

TIA,
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Steve Pugh

2004-07-26, 7:14 am

tomasio <damnit@jan.et> wrote:

>I recently experienced a strange behaviour on firefox 0.9.2 (OS: winxp
>prof. SP1): the div.Footnote (see code on
>http://tomasio.laudatio.com/jobs/Cl.../stylesheet.css )
>is rendered on font-size: 0.8em; although following the CSS 2.1 defs
>it should inherit the font-size of the parent element thus resulting
>in 0.6 em font-size. on MSIE 6 it renders in the correct site. this
>occurs on all of the websites of
>http://tomasio.laudatio.com/jobs/Claudia/Website/


No text at all on that page so can't be relevant to this problem.

>except
>http://tomasio.laudatio.com/jobs/Cl...ted_beauty.html
>.
>does anyone has an idea whats happening here?


Your div.footer only contains text that is linked. And you have the
style div.Footer a:link {font-size: larger;} in your CSS.
So the text size is 0.8 * 0.8 * larger which is probably close to just
0.8. Yep, when I click on the link the text gets smaller.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
tomasio

2004-07-26, 7:16 pm

Steve Pugh <steve@pugh.net> schrieb:

>tomasio <damnit@jan.et> wrote:
>
>
>No text at all on that page so can't be relevant to this problem.
>
>
>Your div.footer only contains text that is linked. And you have the
>style div.Footer a:link {font-size: larger;} in your CSS.
>So the text size is 0.8 * 0.8 * larger which is probably close to just
>0.8. Yep, when I click on the link the text gets smaller.
>
> Steve

Steve, mille grazie.

My blindness fades in front of your wisdom ; )


--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews