Sidebar at bottom of page
-
I already checked the forums and help page (http://faq.wordpress.com/2008/05/30/why-is-my-sidebar-at-the-bottom-of-my-posts/) but I am drawing a blank. On some IE the sidebar slides to the bottom of the page. I pasted my css code below, but I really could use some help with this.
div#container {
float:left;
width:100%;
}div#content {
margin:0 360px 0 0;
}div.sidebar {
float:left;
overflow:hidden;
width:170px;
}div#primary {
margin:0 0 0 -350px;
}div#secondary {
margin:0 0 0 -175px;
}div#wrapper {
width:1000px;
text-align:left;
background:#fff repeat-y center top;
margin:0 auto;
padding:0;
}The blog I need help with is: (visible only to logged in users)
-
I don’t think it is a CSS problem. According to W3C’s XHTML validator, you have 100 errors on the front page. A good portion of them have to do with using the ”
- ” where it is not allowed: http://validator.w3.org/check?uri=http%3A%2F%2Fca.myphotoscout.com%2F&charset=(detect+automatically)&doctype=Inline&group=0 . You have used the “
- ” in a lot of text widgets.
A better, and valid way of doing line indents is to use:
<p style="padding-left: 30px;">This is a test<br /> This is another line<br /> This is another line<br /> This is another line</p>You can change the 30px above to any value you like.
Also, you have used “
” multiple times to add extra lines between things in widgets (at least that is what I think you are using them for). If you want a blank line in between lines of text in text widget, wrap the individual lines in “P” tags:<p>this is the first line of text</p> <p>this is the second line of text</p> <p>this is the third line of text</p> <p>this is the fourth line of text</p>Using two break tags back-to-back is not provided for in the standards and can cause issues, the least of which is that it puts errors into your pages, and Google and some other search engines are getting quite picky about HTML errors and if they find too many in any particular site, then they quit indexing them.
-
In the first paragraph what is missing is
<li>. I thought it would show if I include quote marks around it but it didn’t. -
Also, the link to the validator is broken and includes (detect+automatically)&doctype=Inline&group=0 also. Apparently the parenthesis confused the forum software.
-
Awesome. Thanks for the link. That did the trick. You were right. The CSS wasn’t the problem.
-
-
I am having the same problem. when I put an image link in the sidebar, it pushes my footer down and separates it from the main body. If I ad and ad in a text widget it does the same thing. I have left an image in the sidebar to demonstrate the problem. The site is only a week old and gets only a few visitors a day, but I am wanting to statr promoting it and want it to view well in ie like it does in ff.
In FF it looks great, but in IE7 it does the above. I can’t figure it out.
I have made all of my post private and then added an image to the sidebar, it still does it. I was trying to see if it was possibly the html in the post that was doing it.
I went to the validator.w3.org that you suggested above and found 8 errors, none of which should cause this problem.
I removed the image and it went back to normal. I have tried both png and jpg images.
I am at a loss. Any help would be much appreciated.
-
The blog you referenced is not a wordpress.COM hosted blog, so we will not be able to help you with that.
You need to head over to http://wordpress.ORG/support/ which is where self-hosted wordpress blogs are supported. The software here is different
- The topic ‘Sidebar at bottom of page’ is closed to new replies.