Encountering an unusual issue in Internet Explorer 7 where the heading appears with excessive space from the top. This issue is exclusive to IE 7 and not present in other browsers or newer IE versions.
Any suggestions on how to resolve this?
Chrome Version:
IE 7 Version:
HTML
<div class="box">
<header class="module-title">
<h2 class="title">گزارش و مصاحبه</h2>
</header>
<section class="module-content">
<ul class="sidebar-news">
<li>
<div class="image-holder">
<img src="img.jpg" alt="Test item">
</div>
<h3><a class="moduleItemTitle" href="#">Copy of مصاحبه با معاون صدا درباره راديو كتاب</a></h3>
.
.
.
</li>
</ul>
</section>
</div>
CSS
.module-title h2 { margin-top: 0; font-size: 26px; line-height: 30px; }
.sidebar-news { list-style: none; margin: 0; }
.sidebar-news h3 { font-size: 20px; line-height: 26px; margin-top: 0; }
.sidebar-news .image-holder { width: 140px; float: right; margin-left: 10px; }
Update 1: Resolved the issue by applying *margin: -20px;
to .sidebar-news h3
, but looking for a better solution. What might be causing this gap to appear?