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

Can anybody tell me what the proper names of these styles should be... because for some reason all tables are now following this class when only ".tablaplans" tables should...

.tablaplans {width: 512px; border-collapse: collapse; background-color:#999999}
.tablaplans table, table td {
font-family: Verdana, Arial, Helvetica, sans-serif;
border: 1px solid #999999; border-collapse:inherit;
font-size:10px; font-weight: normal; color: #333333;
background-color:#FFFFFF; padding-left:5px; 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);}

Cheers!

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

Proper style names

Try this

table.tablaplans, table td { 
font-family: Verdana, Arial, Helvetica, sans-serif; 
border: 1px solid #999999; border-collapse:inherit; 
font-size:10px; font-weight: normal; color: #333333; 
background-color:#FFFFFF; padding-left:5px; margin:0} 
th.tablaplans { font-family: Verdana, Arial, Helvetica, sans-serif;

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

Proper style names

Thank you very much Day! With your help I was able to get it fixed: http://www.l8k.com.ar/id/web-hosting/plans-temp.htm
It's almost perfect in Netscape too.

I'll let you know when the site is up! Thanks!

Here is the final CSS i used:

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

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

Proper style names

Actually i then got it to look well on Nestacpe too:

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