Sent by Rijk van Geijtenbeek on 8 February 2002 18:06
On Friday, February 08, 2002, laelia wrote:
> Thanks for the reply. You hit the nail on the head. The reason the
> Lib Director wants me to change the page is because he was getting the
> same complaints about not being able to read the type on those left
> links. It was done 3 months ago by someone else and though I know a little about css, this
> seemed to be a nightmare to figure out.
I would follow the advice and first scrap *all* font-size declarations
in the stylesheet, and then add a few percentage sizes for the most
important elements (elemenst like BIG and SMALL can take care of
themselves usually,) and maybe set a px size for BODY.
> Can I safely assume that inheritance flows downward which would, to
> me indicate that the H3 tag would be 80% of the H2 tag above it and
> not 80% of the 'small' BODY tag? Or is my logic/knowledge wrong?
No! Inheritance doesn't care about which element it is applied to.
'font-size: 80%' means 80% of the inheited value. H1 is a direct child
of BODY (unless you put DIVs and TABLEs in between), so it would be
set to 80% of the size set for BODY. Only Netscape 4.x might disagree
with this.
..
> One of the things that's driving me up a wall is that I did decide to
> try and overhall all of it starting with changing the BODY tag to 12px
> and making everything more precise. Although the testing on my PC
> reflected all of the changes fine, after uploading the css, clearing
> the cache on the browsers, nothing seemed to change. Not too good if
> it looks readable on my machine but not after uploading. Can there be
> a reason for this?
It changed looked at least different in my browser (Opera 6).
> (the site is www.ossininglibrary.org )
Greetings,
Rijk [EMAIL-REMOVED]
(Opera Software employee)
Mot du Jour:
The best way to win an argument is to be right.