PDA

View Full Version : Cell padding/spacing



tommyhaych
February 7th, 2005, 03:08 PM
Hey there,

I'm having mega-trouble with cellspacing issues.

http://www.drivingthru.co.uk/new

If you load this in mozilla, the brown background matches perfectly with the header image.

But if you load it in IE, it does the opposite, it doesn't register my *table cellpadding="0" cellspacing="0" but it does in Mozilla,

I'm most confused!

Can anyone suggest anything?
Tom

Cybernoid
February 7th, 2005, 03:42 PM
But if you load it in IE, it does the opposite, it doesn't register my *table cellpadding="0" cellspacing="0" but it does in Mozilla,


Use the quotes in HTML too, not just on forums... And the page looks almost the same on both browsers. You might want to fix the code though, there's half of it missing. IE doesn't work too well when it goes into the "quirks" mode which it does if the code's faulty or incomplete.

tommyhaych
February 7th, 2005, 03:46 PM
Still not fixed it, both browsers seem to want a different definition when it comes to aligning the tables (e.g. the brown background has a different width for both mozilla & ie).

Thanks anyway!
Tom

ditt0
February 7th, 2005, 04:31 PM
<div style="width:100%; position:relative; top:50px; left:60px;">
This should work. Just adjust the top and left values to suit you.