[thelist] NN4 losing some CSS info on third and subsequent div tags?
Saila, Craig
Craig.Saila at bgminteractive.com
Wed Jun 19 13:33:00 CDT 2002
> -----Original Message-----
> From: Means, Eric D [mailto:eric.d.means at boeing.com]
> Sent: June 19, 2002 9:50 AM
> Problems I could use some help with:
> First of all, the font color is wrong everywhere. Where
> should I set the font color to have it be effective? Second,
Everywhere. NN4.x has trouble inheriting styles, so you'll need to do
something like this:
body, div, p
{
font-size: 12px;
color: rgb(245,255,255);
font-family: "lucida sans", sans-serif;
}
body
{
background-color: rgb(0,102,102);
margin: 0px;
padding: 0px;
width: 100%;
}
> in every div except the "ahem" one at the top, my links are
> unformatted. No border on divs after the first days' posts.
> Date alignment is not working. Date background is not working.
You're going to kick yourself here. The one inline style you have
(line#83: style="text-align: right") is killing the remaining styles in
NN4.x .
When NN4.x "forgets" styles, try removing any inline styles, especially
those not related to color and font-size.
For more on working with NN4 and CSS read Mark Howells' excellent
collection of tips:
<http://www.mark.ac/writing/cssnn4.php>
--
Cheers,
Craig Saila
------------------------------------------
craig at saila.com : http://www.saila.com/
------------------------------------------
More information about the thelist
mailing list