Welcome to WebmasterWorld Guest from 54.147.212.98

Forum Moderators: not2easy

Message Too Old, No Replies

Problem with NN 4.79 and table

New design problem on NN 4.79, with table structure

   
10:30 pm on Jan 29, 2003 (gmt 0)

10+ Year Member



table.location { width: 100%; border: 0; }
table.location td { padding: 2px; margin: 2px; vertical-align: top; font-family: Verdana, Arial, Helvetica, sans-serif; color: #0066CC; font-size: 12px; background: White; }
table.location a {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; color: #0066CC;text-decoration: underline; background: transparent;}
table.location a:link {color: #0066CC; background: transparent;}
table.location a:visited {color: #6DB5FE; background-color: transparent;}
table.location a:hover {color: #F88E06; background: transparent;}
table.location a:active {color: #FF0000; background: transparent;}

This table style "folds" under NN 4.79 can anyone help me with this? It works fine in IE, and in Mozilla 1.0.1. Even works in Opera 6.05. HELP!

Thanks,
CatNip
:(

12:29 am on Jan 30, 2003 (gmt 0)

10+ Year Member



Please help anything would be greatly appreciated.

:'(

4:28 am on Jan 30, 2003 (gmt 0)

10+ Year Member



netscape4 + css = pain! Mercifully, there is the @import rule - I'm sure you'll turn up some good threads on that here if you're not familiar with it.

Get ready to make a separate style sheet for netscape - in it assign a padding-left attribute for your table cells with a percentage. You'll have to play with the numbers to get it where you want it. The catch with @import is that you'll need to have a corresponding padding-left (with a different value) in your main style sheet or other browsers will use your netscape style.

It's alot of extra work, but if you need to support NS 4.x it'll do the job.