...

View Full Version : Can't get rid of Space between images in IE



sackstein
05-21-2009, 05:40 AM
This is the page in question: www.anzie.com/test7.php

I thought that I had this problem fixed as seen in this thread I started about it: http://www.codingforums.com/showthread.php?t=165462

however after making some changes to the javascript and what not it seems I am having this problem again. The pages display correctly in firefox and chrome but IE or at least IE7 is giving me grief.

Can anyone guess as to what I can do to rid the page of the spaces between the images? Thanks for any help its appreciated as always.

jhaycutexp
05-21-2009, 08:46 AM
try adding in your style sheet..





*{margin:0;
padding:0;
}


or fix the heights of your images.. but the code above will do the trick..:D

abduraooft
05-21-2009, 09:14 AM
try adding in your style sheet..





*{margin:0;
padding:0;
}


It's good in some cases, but here it looks like those "mysterious gaps (https://developer.mozilla.org/en/images,_tables,_and_mysterious_gaps)", so you'd need to add the following code into your CSS file.

td img{
float:left;
}

sackstein
05-21-2009, 06:00 PM
Thanks! it actually required all 3 properties to fix. It did however shift some of my other images around obviously.. Shouldn't be too hard to fix though. Thanks again!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum