views:

20

answers:

3

Try setting the padding of <td> to more than 1px, you can't.

You can only specify 0 or 1px padding for this td. But why ? It's same in both transitional and strict document types.

http://www.pro-turk.net/xhtml_col.html

+1  A: 

It is probably that you are not defining the unit for the padding. setting it something like 10px (in chrome at least) works fine.

thecoshman
Beat me by mere seconds!
adam
And I thought I was being slow :P
thecoshman
A: 

Maybe because you're specifying the padding as 1 - no units - rather than 1px, 1em, etc.

It's fine to specify 0 without units, as 0 is the same in any unit - but not 1.

adam
A: 

Thanks for the answer :)

Here is a a bit more complicated but similar question of mine, If you can look, I'll be much appreciated.

http://stackoverflow.com/questions/2621064/table-disobeys-w3c-box-model-ie8-ignores-fixed-table-width

SOLVED.

Axel Myers
Why are you leaving an answer to your own question?
thecoshman