Google Chrome error with CSS fill style applied to blank cells

I only have a problem in Google Chrome (Firefox, IE, Netscape, Safari and Opera are good) where the padding property that should be applied to text in a cell also applies to all blank cells. This is easy to solve by adding more specific styles to my affected perimeter cells and using different styles, but this uses a lot of extra code and what I'm trying to save. Is there a way to make my CSS skip over blank cells in the table it refers to?

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

      

This style affects him.

Edit: the commas were random when I entered the class here (I use to represent the syntax of the parameters)

+1


source to share


2 answers


I think Google Chrome has different default values ​​for the empty-cells

css property . you should try:



#regFormTable{ padding:8px 30px 0px; empty-cells: hide; }

      

+1


source


You shouldn't have commas:

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

      



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

+1


source







All Articles