PDA

View Full Version : Tables, IE and Netscape


teach1st
11-16-2000, 05:51 PM
I'm redesigning and simplifying my class site. No problem, except Netscape 4x isn't cooperating with me. At this point I have to use Netscape 4x in my classroom (at about a 590X420 resolution, no less).

There are black lines between cells in Netscape, but not in IE (embedded tables, with a black, encompassing table showing through). I don't want those black lines. How do I get rid of them? And why isn't Netscape listening to my style sheet specs?

Here's the initial new design: www.pb5th.com/index-working111600-004.htm (http://www.pb5th.com/index-working111600-004.htm)

Thanks for any help. BTW, I can't get Netscape 6 to run on my system, so I have no clue what things look like there.

------------------
fred

Justin
11-16-2000, 07:14 PM
Netscape and IE have different defaults for table properties. If you don't specify any of the parameters (cellpadding, etc), each will use its own default. Specify all parameters -- specifically cellpadding, cellspacing, and border -- and you should be okay there.

As for CSS, Netscape 4.x will not carry 'body' attributes into a table. The best way to get around this is to be redundant: repeat your 'body' attributes for 'td':
</font><font face="Courier" size="3">
<style...>
body {
[nbsp][nbsp] color: #123456;
}
td {
[nbsp][nbsp] color: #123456;
}
...
</font><font face="Verdana, Arial" size="2">
Specifically, your font family and size are the biggest problems there.

If you get into absolute positioning, or any of the fancier CSS, you can count me out -- I stick to the simplest CSS that works in Netscape 4.x. I also try not to use any CSS when the same thing can be accomplished in another way just as easily (anything in the <body> tag for example).

Hope this helps.

------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support

teach1st
11-16-2000, 07:38 PM
Thanks, Justin! The border thing! How could I have forgotten? I appreciate your help.
------------------
fred