I have a weird problem in Internet Explorer 7 which shows heading with a lot of distance from the top. The problem does not exists in other browsers or newer versions of IE.
What should I do to make it right?
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: I fixed it by giving *margin: -20px;
to .sidebar-news h3
but I don't like my solution! Why is this happening? Is there something adding that gap?