So I have this table http://mikepuerto.com/iNews/ –
I’m using some jquery to sort it. If you view this in any browser but firefox you will see that the table headers have a shadow running along the bottom and when you click a header an arrow points down to indicate that you are sorting that column… For some reason firefox does not show the shadow and does show the arrow properly… I have narrowed it down to something to do with the height on the “th”. With the height and padding on the following style it works fine on most other browsers… It only works in FF if i set the height to 69px; Any ideas as to why this would happen?
table.interactiveData thead tr th {
color: #fff;
font-size: 10px;
font-weight: bold;
padding: 0 7px 16px 7px;
height: 54px;
}
Looks like in FF it is the first table row after the th that is covering it up.
You could fix by making the first row of the table to not have a background color and add a margin to the top of it maybe. Taking a look now.
The height really should be 70px since that is the height of the background image. Padding is not having an effect in FF. In FF the tabs look good, then in the other versions you just need to make sure the background is white.
Change your css in the page to this padding-bottom and padding-top is just not working in FF due to all the other styles.
Specifically the #fff as the background color to override the red.
And then set it to 70px height and only set a left and right margin. If you want to pad top and bottom you will have to wrap them in a span or go another route.
Works in FF, Chrome, IE and Safari now.
Full markup
tables
$(document).ready(
function() {
$(“#interactiveData”).tablesorter({widgets: [‘zebra’,’columnHighlight’]});
}