1

I have a problem only in Google Chrome (Firefox, IE, Netscape, Safari and Opera are Okay) where a padding property which should be applied to text in a cell, is being applied to all empty cells aswell. It's easy to solve by adding more specific styles to my affected perimeter cells and using different styles, but that uses a lot of extra code and something which I try to save on. Is there possible way to get my CSS to pass over empty cells in the table it applies to?

#regFormTable{ padding:8px 30px 0px; }

Is the style affecting it.

Edit: The commas were an accident in typing the class on here (I'm using to submitting parameters syntax)

4

2 回答 2

1

I think Google Chrome have a different default for the empty-cells css property. you should try to do :

#regFormTable{ padding:8px 30px 0px; empty-cells: hide; }
于 2008-12-12T08:52:14.200 回答
1

You shouldn't have commas in there:

#regFormTable { padding: 8px 30px 0px; }

Also, I usually use either 2 or 4 values - it's just easier to understand!

于 2008-12-12T08:52:32.250 回答