Jump to content

Archived

This topic is now archived and is closed to further replies.

dtldesign

IE - white space under image

Recommended Posts

dtldesign

Has anyone else noticed this issue? I am having to put a line of code in CSS (a minus bottom margin) to get rid of unwanted white space under images in IE or rescale images to the exact size of image box.

It's due to the images being larger than what they are being scaled down to and IE isn't rendering correctly.

Is there any way around this?

Share this post


Link to post
Share on other sites
GreyFoxWebDesign

We've had lots of issues with IE and images in Pagelines - a work around we have in place is by adding a class of iefix to image/text boxes and using the following CSS:

.iefix .pl-img-wrap {

  min-height: 1px;

}

.iefix .pl-text-wrap {

  min-height: 1px;

}

Also adding the following has helped with other similar issues:

.pl-container-wrap { 

  min-height: 1px;

}

Share this post


Link to post
Share on other sites

×