2 replies [Last post]
trew
Offline
newbie
Last seen: 17 years 19 weeks ago
Joined: 2004-01-02
Posts: 6
Points: 0

Hi: im having trouble with this table: http://www.l8k.com.ar/id/web-hosting/plans-temp.htm

It looks how i want it to in IE but in netscape i cant see the tables borders...

The CSS script im using is:

.tablaplans {width: 512px; border-collapse: collapse; background-color:#999999}
.tablaplans table, table td { background-color:#FFFFFF; padding:0; margin:0}
.tablaplans th{ font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px; font-weight: bold; color: #333333;
padding: 5px;
background-image: url(images/boton-fondo.gif);}

And in the HTML the table has 1px cellspace as its only propety.

Does anybody know a better way to give the table a 1px border for all its cells?

Thanks for any help!

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 17 years 26 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

Table borders *damn netscape*

Looks like you have not set a border. Maybe IE says well its a table therefore it should have borders, while netscape says hey no border set, so will not give it one.

Try

.tablaplans table, table td { background-color:#FFFFFF; padding:0; margin:0; border: 1px solid #999999}

Regards
Day

The only way to learn is to do it yourself

trew
Offline
newbie
Last seen: 17 years 19 weeks ago
Joined: 2004-01-02
Posts: 6
Points: 0

Table borders *damn netscape*

thanks Day for your reply.

The thing is that when i include the border atribute as you said to, i get a 2px border around all the white cells and a 1px border around the grey cells in IE. While in Nestcape i get only a 1px border around the white cells and no border around the grey cells...

What im looking for is just a 1px boder to divide rows and columns as i would get if using the border properties in html (but thiner).

Thanks!