View Single Post
Old 01-24-2018, 05:58 PM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by AlanHK View Post
...

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.
Turtle91 is offline   Reply With Quote