Jon Harding
Jon Harding

Reputation: 4946

IE8 td borders not consistent

I can't figure out why the borders on some of the cells are showing up and others are not: http://jsfiddle.net/webedge/rt5pk/

I have applied all styles via CSS.

There are some images missing, that I haven't uploaded anywhere, which would answer some of the td padding, but my major concern are the td borders.

Upvotes: 1

Views: 1012

Answers (2)

ptriek
ptriek

Reputation: 9276

It's being caused by the position:relative on your tds - if you remove this the layout is fixed.

If you need the positioning for positioning other elements inside the td you might try adding an extra <span> or <div> within the cell, and position these extra elements?

Upvotes: 2

Matt K
Matt K

Reputation: 6709

Add this:

table.chart { border-collapse: separate; }

It's good to specify as many attributes as possible to look consistent across all browsers, otherwise you'll need a CSS reset.

http://jsfiddle.net/EL7NQ/

Upvotes: 0

Related Questions