littleman

msg:1218337 | 6:21 am on Dec 23, 2001 (gmt 0) |
<link rel="stylesheet" href="style.css" type="text/css"> Works fine for me in Mozilla.
|
princess

msg:1218338 | 6:23 am on Dec 23, 2001 (gmt 0) |
Could you take a look at my code, please? [The site in the user profile] (edited by: tedster at 6:35 am (gmt) on Dec. 23, 2001)
|
tedster

msg:1218339 | 6:59 am on Dec 23, 2001 (gmt 0) |
Welcome to Webmaster World, I can see that the body background color and image border color aren't working in Netscape. I'd suggest running your html through a validator (such as the free validator at the W3C [validator.w3.org] before digging into the css. Just off the top, you have some <tr> and <td> tags after the closing </table>. Netscape does not forgive bad table tags, so if you clean the HTML first, you'll know better what the css troubles are.
|
bobriggs

msg:1218340 | 1:51 pm on Dec 23, 2001 (gmt 0) |
For starters, in NN4, attributes in tables are not inherited from the body. You'll need to style each td, including the font, color and background color. In addition, you don't want to have any empty cells, or they will revert to default backgrounds. It's possible that your body background isn't showing because you're using that table for layout. Instead of using background-color, see what happens with just the background shorthand. As far as the image border color goes, try setting the border-width in css and using a specific class, like: img.withaborderof8 {border-width: 8px; border-color:#666666; border-style: solid;} Mucho headaches to get CSS to work right with NN4.
|
Marshall

msg:1218341 | 2:58 pm on Dec 23, 2001 (gmt 0) |
princess, I sent you a sticky-mail which you'll find at the top of this page - YOU HAVE MAIL :)
|
princess

msg:1218342 | 12:03 am on Dec 24, 2001 (gmt 0) |
Tedster-- Is that only a NN4 problem (styling every cell?) And how does Mozilla compare to NN? My fiancee says that one is based off the other, but I'm still confused. Also, should I declare a certain element (such as body bgcolor) at the html document level, or should I do all that in CSS? Thanks Much! Jessie
|
bobriggs

msg:1218343 | 12:20 am on Dec 24, 2001 (gmt 0) |
Hi princess, I'm not tedster, but I did take another look on another PC that has mozilla here. Mozilla should be VERY correct. NN4 is VERY bad. IE has always been very forgiving. But the main thing that I noticed in your external CSS is that you have quotes around your colors: "#000000", for example, you don't need them, and it probably constitutes an error. And yes, you do need to style many attributes in each cell, as I said. Your fiance is correct, but it has been a long time from the NN4 versions to the present. Mozilla is much, much, more compliant with CSS.
|
princess

msg:1218344 | 12:43 am on Dec 24, 2001 (gmt 0) |
It works!!! Thank you so much!!! (It was the quotes...)
|
|