Forum Moderators: open
<div class="header">
<a href="index.php">
<img src="THEheadline2.gif" alt="[i][Website][/i] header" border="0" class="headerlogo" />
</a>
<span class="weatherright">
<img src="http://l.yimg.com/a/i/us/we/52/33.gif" class="weatherimg" alt="Weather status image" />
<b>Currently 58°F</b>
<br />
High: 72°F / Low: 49°F
<br /><b>March 29th, 2009</b>
</span>
</div>
and CSS
.weatherright {
float:right;
text-align:left;
margin-right:60px;
margin-top: 5px;
line-height: 1.2em;
clear: none;
}.weatherimg {
vertical-align: middle;
float: left;
}
.header {
width: 810px;
padding: 0px;
margin: 0 auto;
background: #FFF;
border: 1px solid #000;
height: auto;
}
And it breaks it into two lines?
Thanks!
[edited by: tedster at 1:42 am (utc) on Mar. 30, 2009]
[edit reason] make specific details more generic [/edit]
The header section has two things: a logo (left) and a weather feed (right, I built it so there's no outside styling that could be effecting it)
The logo is on the left and the weather on the right. The weather is one line lower than the logo though.
I mean, it's a span next to an img, both inline elements. Why's it doing this?
Thanks!
[edited by: tedster at 1:13 am (utc) on Mar. 30, 2009]