Hello again zooeyglass,
Your .container does have floats that are not cleared. You can see by adding a background color like this -
Code:
.container {
width: 1000px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
background: #f00;
}
If you clear the floats with overflow:auto; the .container expands to enclose the floated elements.
Like this -
Code:
.container {
width: 1000px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
background: #f00;
overflow: auto;
}
Here's an explanation of how that works -
http://www.quirksmode.org/css/clearing.html
Along with your text, at the bottom your .foot is weird.
Add this to your CSS -
Code:
.sidebar {
float: right;
width: 30%;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #999999;
overflow: auto;
}
.sidebar p {
clear: both;
margin: 0 10px;
}
.rss {
float: right;
}
.leftnav {
float: left;
}
.foot {
clear: both;
}
Added a bit to your markup too -
Code:
<div class="sidebar">
<img src="images/blog.png" alt="mini blog" class="leftnav" height="47" width="161"><a href="http://www.skylinedesigns.co.uk/n13news/rss.php"><img src="images/rss.png" alt="RSS Subscribe" class="rss" style="border: 0px none ;"></a>
<p>some words here some more words and even more to make this longer</p>
<p>some more words here </p>
</div>
<div class="foot">Content for class "foot" Goes Here</div>
</div>