Hi,
The text is further down in IE8 because you have given IE a margin-top of 22px and other browsers only 8px.
Code:
<!--[if IE]>
<style>
.fulllink {
font-size:6pt;
padding-left:5px;
position:relative;
top:26px;
}
#desc {
margin-top:22px;
}
</style>
<![endif]-->
if you want to exclude IE8 from that rule then change the css as follows.
Code:
<!--[if lt IE 8]>
<style>
.fulllink {
font-size:6pt;
padding-left:5px;
position:relative;
top:26px;
}
#desc {
margin-top:22px;
}
</style>
<![endif]-->
Your code is a little haphazard and you shouldn't be using spans followed by two breaks to make space. Breaks are never used for making space and you should be using the correct element such as a p element or heading element (or div) and applying margins to those instead.
Spans are inline elements and used for sections of inline content and not for block content that you then follow by a break.
This is very bad:
Code:
<h1><a href="/tags/toy-story-3" style="line-height:1.9em;">Toy Story 3</a></h1>
<br />
<span style="font-size:11px; letter-spacing:0px; position:relative; margin-top:-5px; padding-bottom:4px; color:#FFFFFF;">Trailer B</span> <br />
<br />
The same effect could be achieved with this code and styling externally with css.
Code:
<h1 class="trailer"><a href="/tags/toy-story-3" style="line-height:1.9em;">Toy Story 3</a> <span>Trailer B</span></h1>
If you can keep the code organised and tidy it makes things much easier for you in the long run
Bookmarks