Web Hosting Talk







View Full Version : Issue with IE


Xspirit
05-24-2007, 07:32 AM
Hi all,

When microsoft made IE they seriously didn't make it a very developer friendly tool, did they!

I have been working on my site, and it contains a table that is of the size 100% in both directions. At the bottom of the page is a footer image, that goes 100% horizontal. For some reason firefox shows this, whereas IE7 leaves a border on the side and bottom of it! However when you do ctrl F5, it fixes it to look like it would in firefox (i.e. no borders) however, then when you go back to the page its back with the borders again! I thought this may be a simple cache issue, but I cleared it and it keeps happening.

the page is http://dvspro.co.uk/index.html

Hope someone can advise as this is an issue that is really bugging me!

Jamie Harrop
05-24-2007, 07:55 AM
I can't test this on my local machine because it seems to fix the problem when I save the page locally using IE.

However, try adding this to your CSS:

body {
margin: 0;
padding: 0;
}

Maybe it will work. Maybe not. It's always worth a try. :)

Xspirit
05-24-2007, 12:41 PM
It did work :)

Thanks Jamie

jwladessa
06-01-2007, 01:07 AM
I can't test this on my local machine because it seems to fix the problem when I save the page locally using IE.

However, try adding this to your CSS:

body {
margin: 0;
padding: 0;
}Maybe it will work. Maybe not. It's always worth a try. :)

that is a good solution but a more effecient sollution is to always add the following code to the top of your css.


* {
margin: 0;
padding: 0;
}
i suppose its the same, kinda. this way explicitly tells every element to use this style. then again what other tags are there before body, besides html,head. but hey you never know. :P