I have inside a div, one h1 tag followed by a span tag which are one next to the other, but the span is floating to the right. It works in firefox, chrome, and internet explorer 7 and 8, but not in ie6. In ie6 the h1 tag is bigger for no reason, so the span tag stays bellow it.
Heres the code:
<div style="width: 740px; float:left">
<div id="article-header">
<h1><span>Text</span></h1>
<span class="breadcrumb">Link1 > Link2</span>
</div>
The Css:
#article-header h1
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #F2612F;
text-transform: uppercase;
display: inline;
position: relative;
}
.breadcrumb
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 9px;
float: right;
text-transform: uppercase;
vertical-align: baseline;
margin-top: 0px;
text-align: right;
display: inline;
}