Here's a stripped down page that displays in IE7 and the Dreamweaver design window as white text on a black background (as it should) and yet in Firefox, it shows as black text on a white background. Both browsers display the text as a large Verdana font (although differently sized) as proof that the style sheet is being loaded. Removing the font-family option changes the display back to Times New Roman on both.
I'm on a fully patched XP SP2 system if that matters. As for Firefox, just installed v2 a few days ago so pretty much all default options. I also tried toggling the "Print Background (colors & images)" checkbox under File / Page Setup which made no difference (as expected since it should only affect output to the printer). I didn't see any other relevant options that should affect this.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html
<html>
<head>
<title>Sample Page</title>
<link rel="stylesheet" href="styles/stylesheet_te
</head>
<body>
<h1>My sample page.</h1>
</body>
</html>
body {
background:#000000;
font-size:36px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
h1 {
color:#FFFFFF;
}
Thanks again.
Main Topics
Browse All Topics





by: yeroketPosted on 2006-11-04 at 04:52:51ID: 17872939
this should work in firefox. could you post the entire code?