Quote:
Originally Posted by AlanHK
...
Is there a way to do this that validates?
(Aside from going through the css file and multiplying each size by the same factor.)
I tried putting the style in the <body> tag, but that had no effect.
|
I don't think the style tag is supposed to be in the HTML tag at all??? I would have thought moving it to the <body> tag should have corrected it. You did remove it from the HTML tag when you tried, correct??
I do agree with Wolfie about getting rid of that font-size cruft in the body. Just do a search and replace to get rid of any <font> tags that are being applied to the standard/normal/everyday paragraph...put that in the css and it will apply to all of the main paragraphs:
Code:
p {font-size:1em}
p.larger {font-size:1.2em}
p.smaller {font-size:.8em}
<p>This is a normal paragraph.</p>
<p class="larger">This is a larger font paragraph.</p>
<p class="small">This is a smaller font paragraph.</p>
That drastically cuts down on the code bloat and makes it much easier to read/edit the code...and it makes it easier to see where those special paragraphs are located.