|
abbeyvet -> RE: CSS and font sizes in lists (5/23/2003 16:30:43)
|
em' s still have quite poor cross browser support and you might be better going with percentages instead. One way to control this problem is to define a text size in the body selector, and allow this to be the base text size for all your main text - lists, paragraphs etc. Thus you do not need to define any text size at all for the p, a or or ul selectors, if it is undefined they will inherit their size from the body selector. I find 75%-80% works quite well for this, depending on what font you are using. Then you define heading text, or any text you wish to display larger than this, by using 110% or 120% in the relevant selector. This will be taken as a percentage of the size defined in the body selector - so it will be 110% 0r 120% of 75%, if you know what I mean. You still need to test in a range of browsers, but it is easier to work this way than by trying to define the size of each individiual element.
|
|
|
|