Hey, I'm tweaking around with my business's site and seem to be having trouble with the font-size. I set body { font-size: 11pt } in a .css, but after the first 3 blocks of text everything goes back to a base 12pt - even if I change body's size to, say, 6pt. I can still % size, but it's from 12pt rather than my body's style.
Below is a stripped-down version of the page, and I can link to a copy of the actual page script if it'd help. I suspect I'm doing something around the 2nd table to block inheritance of body's font-size, but I can't see it with my few months of CSS experience (learned from the w3schools' tutorial).
[tt]
[Begin stylesheet]
body
{
font-family: Verdana, Times, sans-serif;
font-size: 11pt;
}
div.currTitle { font: bold 120%; }
.plus1 { font-size: 110%; }
.plus2 { font-size: 133%; }
.plus3 { font-size: 150%; }
.fullWidth { width: 100%; }
[End Stylesheet]
<div class="currTitle">Welcome</div>
<p>
<table class="plus2">
[some table stuff; various style classes used,
but none touch font or font-size;
text affected by stylesheet's body font-size]
</table>
</p>
<p>text size here changes w/ body style's size</p>
<table class="fullWidth">
<tr class="center"><td>
<table><tr><td>
<div class="plus2">NOW IGNORING FONT-SIZE</div>
<ul>
<li><a class="plain" href="link">still ignoring</a></li>
[repeat 4x]
</ul>
</td></tr></table>
</td><td>
<img>
</td></tr></table>
<div class="plus2">still ignoring</div>
<p>still ignoring</p>
[/tt]
... and so on
Any comments/suggestions are appreciated.
Below is a stripped-down version of the page, and I can link to a copy of the actual page script if it'd help. I suspect I'm doing something around the 2nd table to block inheritance of body's font-size, but I can't see it with my few months of CSS experience (learned from the w3schools' tutorial).
[tt]
[Begin stylesheet]
body
{
font-family: Verdana, Times, sans-serif;
font-size: 11pt;
}
div.currTitle { font: bold 120%; }
.plus1 { font-size: 110%; }
.plus2 { font-size: 133%; }
.plus3 { font-size: 150%; }
.fullWidth { width: 100%; }
[End Stylesheet]
<div class="currTitle">Welcome</div>
<p>
<table class="plus2">
[some table stuff; various style classes used,
but none touch font or font-size;
text affected by stylesheet's body font-size]
</table>
</p>
<p>text size here changes w/ body style's size</p>
<table class="fullWidth">
<tr class="center"><td>
<table><tr><td>
<div class="plus2">NOW IGNORING FONT-SIZE</div>
<ul>
<li><a class="plain" href="link">still ignoring</a></li>
[repeat 4x]
</ul>
</td></tr></table>
</td><td>
<img>
</td></tr></table>
<div class="plus2">still ignoring</div>
<p>still ignoring</p>
[/tt]
... and so on
Any comments/suggestions are appreciated.