Table padding in IE vs Firefox

liunx

Guest
I have a table that has 5px padding on each side. I have used css to create this padding. I have also used css to create a background in the single cell so that it appears that there is a border around the cell. In IE this works fine but in firefox there is a problem where the padding screws up around some of the edges and does not appear to work.

Does anyone know how to correct this problem?Since you are using css to control the table, you may as well use css to make the table...can we see the code you are having issues with?Here is a cool little trick

* {
padding:0;
margin:0;
border:0;
}

The aterisk will affect everything on the page. With this, nothing will be padded, there will be no margins and no borders (unless specified elsewhere in your CSS).
I hope that helps...
 
Back
Top