I created a html table and used this css to style the border as i wanted:
the top row and column to be one color and the rest of the table to be stripes alternative row colors
regular single black border over each cell
Here is my css:
#functionMatrixTable td
{
border-collapse: collapse;
border-width:1px;
border-color: Black;
border-style: solid;
}
#functionMatrixTable th
{
border-collapse: collapse;
border-width:1px;
border-color: Black;
border-style: solid;
}
#functionMatrixTable tbody tr.odd th, tbody tr.even th {
background-color:#D8D8D8 ;
}
#functionMatrixTable tr.odd td{
background-color: #ffffff;
padding:4px;
}
#functionMatrixTable tr.even td {
background-color: #CDE0F6;
padding:4px;
}
#functionMatrixTable th
{
padding:4px;
background-color:#D8D8D8 ;
color:#787878 ;
}
The strange issue in Firefox is that it seems to put a border around half of my table but not the rest. Here is an example image. It looks fine in IE8. any ideas what i am doing wrong here?
Screenshot of my html table in firefox. when i click in a cell the border appears??