I am trying to create change the colour of a table data cell using CSS, but it's not having any affect on my HTML in either FF3 or IE8
I have two files, Maths_Tables.html and maths_tables.css, both in the same dir.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
My CSS is header linked with
<link href="maths_tables.css" type="text/css" rel="stylesheet" />
My HTML code is
<td class="colours">0</td>
My CSS code is
<style type="text/css">
.colours { background-color: silver}
</style>
Any help appreciated.