views:

23

answers:

1

This is a screenshot of a table in Chrome 5.

Chrome

The same table rendered in IE8:

IE8

You can view the page here: http://labs.pieterdedecker.be/vspwpg/?page_id=96

This CSS rule adds the padding that IE8 won't respect: td#content table.subitems { padding: 5px; }

+2  A: 

Try adding the padding to the td/th elements under the table, not the table itself. The table cells / headings get zeroed out by *{margin:0;padding:0;} as well, so you have to explicitly specify.

Edit: If you don't mean to put padding on every table cell/heading then try a margin on the table or padding on a table wrapper div.

meder
That makes sense. Thanks!
Pieter