Take a look at:
Basically I got such content blocks:
<div class="somebloc k">
<img class="preview" ...>
<p>...</p>
<div class="clear"></div>
</div>
Where the "preview" image is floated to the right and the "clear"
element has 'clear: both' style to ensure the parent container will
extend to the floated image height at minimum.
The problem I encounter with Internet Explorer is when the normal
content is shorter than the floated image: notice the container
block left edge extends to the page boundaries, although there
should be a padding (from the parent UL element).
I've tried various tweaks but nothing have helped. Has anybody
encountered such issue with IE and have some workaround in mind?
--
Stanimir
Basically I got such content blocks:
<div class="somebloc k">
<img class="preview" ...>
<p>...</p>
<div class="clear"></div>
</div>
Where the "preview" image is floated to the right and the "clear"
element has 'clear: both' style to ensure the parent container will
extend to the floated image height at minimum.
The problem I encounter with Internet Explorer is when the normal
content is shorter than the floated image: notice the container
block left edge extends to the page boundaries, although there
should be a padding (from the parent UL element).
I've tried various tweaks but nothing have helped. Has anybody
encountered such issue with IE and have some workaround in mind?
--
Stanimir
Comment