1 reply [Last post]
sdec
sdec's picture
Offline
newbie
Last seen: 7 years 10 weeks ago
Timezone: GMT-5
Joined: 2012-09-11
Posts: 7
Points: 10

I have a table on my website with rows that have alternating colors. The colors are only displaying in Google Chrome. It just looks like a plain white table in every other browser. Here is the code:

<style type="text/css">
table.altrowstable {
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	color:#333;
	border-width: 1px;
	border-color: #C4CBCD;
	border-collapse: collapse;
}
table.altrowstable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #C4CBCD;
}
table.altrowstable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #C4CBCD;
}
.oddrowcolor{
	background-color:#E6E1D2;
}
.evenrowcolor{
	background-color:#DADFE0;
}
</style>

Here is the link with the table: http://www.trmnet.com/services/trm_training_classes.html

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 46 weeks 5 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

You have an awfully large

You have an awfully large number of syntax errors. Debugging defective source is an opportunity to introduce more errors. You also have a number of critical css errors.

Please fix your errors so there is a better chance of making things work. Fixing the errors may fix the problem. Always validate your work.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.