2 pixel background alligns with firefox, but not with IE.
Moderator: General Moderators
2 pixel background alligns with firefox, but not with IE.
http://www.shaneckel.com/diane/index.php
Works fine in firefox. off by a pixel in IE.
Has anyone come across this problem or know a way to fix it.
any help would be greatly appreciated.
Works fine in firefox. off by a pixel in IE.
Has anyone come across this problem or know a way to fix it.
any help would be greatly appreciated.
Set cellpadding=0 and cellspacing=0 on all your tables. If you omit those values browser will use some default value which may be causing your problem.
However, probably the best thing to do is to exclude lines from the images that are composing your layout. Convert those images to gif with trasparent background.
However, probably the best thing to do is to exclude lines from the images that are composing your layout. Convert those images to gif with trasparent background.
Code: Select all
<td width="75%"> <div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="715">I'm not sure where you are off by a pixel. Could you describe it. I don't have IE.
I've done it before you silly guy.
lol
-yea, I can see why you dont want to use that transparent crap.. its rough looking.... post the old one for me and ill see if there are any css hacks u can use (sounds like u just needed to move the whole table down 1 px for IE, that shouldn't be a problem at all)
lol
-yea, I can see why you dont want to use that transparent crap.. its rough looking.... post the old one for me and ill see if there are any css hacks u can use (sounds like u just needed to move the whole table down 1 px for IE, that shouldn't be a problem at all)
Last edited by MinDFreeZ on Fri Feb 17, 2006 12:58 pm, edited 1 time in total.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Glad you realised itShaneckel wrote:well, it turns out IE sucks. I ended up just using index gifs instead. And I got away with that because of the pixelated background.
The lesson today would be that you can't use curves to a pixelated background and have it line up in all browsers.
Always refer to references if they are available.d11wtq wrote: Glad you realised itThe fact is... IE doesn't follow the box model standards set by the w3c and there's a whole host of issues in relation to borders, padding and margins... I won't go into it... but there's a lot.
One list of horrors in IE: http://www.positioniseverything.net/ie-primer.html
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
IE does this sometimes when there are combinations of floating layers with non-float layers. Sometimes the page springs to life when you click on a particular area, or even just mouseover it. it can usually be solved by applying float to some of the other layers. Yet another annoying bug I know.Moocat wrote:I actually managed to develop a page which was entirely BLANK in IE somehow
aestetically it looks fine because the background is pixelated like the sides. I've been in a <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>-hole of busy lately, but I can see this problem coming up in the near future. Thanks for all the help and the reinsurance of IE's terribleness.
If I was IE I'd have a mouth full of shotgun with my toe on the trigger.
If I was IE I'd have a mouth full of shotgun with my toe on the trigger.