Sidebar at bottom of page on only one page though

Hi,

I have just noticed that my sidebar is on the bottom on the page but on only one page, my blog
http://www.leehughes.co.uk/blog/

Am not sure why this is happening…

Last thing I added was the post rank widget but I can’t see why it would work on one page and not another one… thanks

Hi,

According to firebug your sidebar is outside of Content and therefore doesn’t get floated and doesn’t get a width.


  [B]  </div>[/B] [B]<!-- this seems to be the closing div of #content -->[/B]
    <div id="sidebar">
        <h2><a href="http://www.leehughes.co.uk/feed">Subscribe via <img src="http://www.leehughes.co.uk/wp-content/uploads/2009/09/feed-icon.gif" alt="Feedburner" title="Feedburner" width="48" height="48" class="aligncenter size-full wp-image-150" /></a></h2>


Make sure the sidebar is properly nested and it should work

You also have a lot of errors in that page and you can’t put divs inside p elements. You can only put inline elements inside a p element.

tTry to fix those errors also to avoid any other issues.

Thanks Paul…

All working now…

not sure what you means by

“You also have a lot of errors in that page and you can’t put divs inside p elements. You can only put inline elements inside a p element”

But thanks again… :smiley:

These :slight_smile:

and this is invalid:


[B]<p>[/B]
            <form action="" method="post" class="phplist">
                <label for="email" class="required">Email</label>
                <input type="text" name="email" id="email" size="20" maxlength="50" value=""  />
                <br/>
                <input type="hidden" name="list[1]" value="signup">
                <label for="kludge"></label>
                <input type="submit" name="Submit" value="Submit" id="contactsubmit" />
                <input type="hidden" name="phplist_submit" value="process" />
            </form>
            <div style="clear:both; height:1px;">&nbsp;</div>
[B]</p>[/B]

The p above should be a div - assuming it’s needed at all (and if you were using a strict doctype the content inside the form should be in a block element such as a fieldest (or another div)).

Well, it’s wordpress… there are valid wordpress themes, but they are outnumbered.