unwanted additional space under image [solved]
Posted: Fri Feb 23, 2007 8:43 am
Hi,
I'm using an image with a height of 211px in {content} within DIV #vierkant. When this is displayed in IE6 there appears some space underneath the image. In Firefox there is no additional space. Examination shows that the hidden parameter in IE clientheight is 213px. When there is only text in the DIV the clientheight is 211, like it should be (height is set to 211px).
When I use the same code without CMSMS there is no additional space.
The relevant code is:
I'm using 1.0.2 Maui
Thank you for any help on how to 'remove' the addional space.
I'm using an image with a height of 211px in {content} within DIV #vierkant. When this is displayed in IE6 there appears some space underneath the image. In Firefox there is no additional space. Examination shows that the hidden parameter in IE clientheight is 213px. When there is only text in the DIV the clientheight is 211, like it should be (height is set to 211px).
When I use the same code without CMSMS there is no additional space.
The relevant code is:
Code: Select all
#vierkant {
float: left;
margin-right: 14px;
margin-top: 20px;
padding: 0px;
width: 223px;
height: 223px;
display: inline;
}
.hoofdvlak {
float: left;
height: 211px;
width: 211px;
}
.rand-rechts {
float: right;
width: 12px;
background: url(images/rand-rechts.gif) repeat-y;
height: 211px;
}
.rand-onder-kort {
width: 224px;
height: 12px;
background: url(images/rand-onder-kort.gif) no-repeat;
}
-----
<div id="vierkant">
<div class=hoofdvlak>
{content block="v1"}
</div>
<div class=rand-rechts></div>
<div class=rand-onder-kort></div>
</div>
Thank you for any help on how to 'remove' the addional space.