/    Sign up×
Community /Pin to ProfileBookmark

IE6 Space below images

Hello. I have an slight issue in IE 6. I have an area on a page that has two columns of images floated left and right. In IE6 however, there is an annoying space that appears below the top two images (Groomer to Groomer and Off Lead). But when you refresh the page, the space disappears and appears as it should. Why is the space appearing sometimes and not all the time? Thanks.
[url]http://www.barkleigh.com/new_main_site/index.asp[/url]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@KDLAAug 20.2007 — IE treats images weird. Try adding this to your css:
<i>
</i>img {display: block;}

That should get rid of the white space.

KDLA
Copy linkTweet thisAlerts:
@bp_travisauthorAug 20.2007 — Thanks for the tip. Unfortunately, it didn't work. IE 6 still displays a white space below the top two images. Its only the top two though, not the other ones which use the same div rules and it only appears when you initially go to the page, but goes away on refresh.
Copy linkTweet thisAlerts:
@bp_travisauthorAug 21.2007 — Hello. I have tried everything and that white space still appears. It also "shivers" in IE7 and collapses and expands when hovering over one the images in that area. I am thinking the only way to fix this problem is to use conditional statements and make IE display the pics in tables. It appears that the clear element is causing them to change heights for some reason.
×

Success!

Help @bp_travis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...