View Full Version : CSS footer issue
redViper
May 30th, 2008, 12:35 AM
Okay so I coded my first CSS website with wordpress (hooray, I am so happy for myself!) but I'm having one slight issue.
http://bigbrotheraccess.com/index.php
when a post has 0 comments the footer slides to the right. When it has comments, it's back to where it should be. Now I don't know why this happening. Anyone shed some light?
And on a side note- I was having issues getting WP's theme-editor to work. and then all of a sudden it magically fixed itself. I don't know how, I don't know why - I didn't do anything. but it fixed, and I am in love with it for that.
simplistik
May 30th, 2008, 10:29 AM
it's cause you're not closing out your comments div
this is one of those errors that had you run it through a validator it should've picked it up
redViper
May 30th, 2008, 10:41 AM
haha nice thank you.
I never run it through a validator cause I know there are tons of errors and I don't have the patience to fix em all. :)
simplistik
May 30th, 2008, 11:02 AM
don't need to fix them all, just the one that's causing your error :lol: the validator is more of a guildline and can help. i didn't run it through the first time, i just looked at your code. since it was a common symptom of an unclosed element it was easy to find. but i just ran it through the validator and yea I can see why you may be intimidated by that :lol:
fasterthanlight™
May 30th, 2008, 11:19 AM
Pfft, all of those errors are easy to fix,
a different doctype will probably fix all of those input errors (but then again I just woke up so if I'm wrong, I blame it on that)
and then its just a matter of giving all your image tags alt tags.. and switching your < for < and other minor things
don't be lazy!!
redViper
May 30th, 2008, 03:21 PM
I'm sorry, I'm very lazy. You don't know how long it took me to do this. Forever. I mean, forever. I'm just happy it works!
One more quick question - http://www.bigbrotheraccess.com/forums
I can't figure out a) why when I add a margin to the body for the top of the site - it gives me a white area instead of the color of the BG
and b) why the background image shrinks to the size of the forum (so when there is smaller posts - the background gets smaller) and why it doesn't fit the whole page - it shows white too!
fasterthanlight™
May 30th, 2008, 03:30 PM
install and use firebug,
you are defining the body { } to have a white background color.
html, body {style.php (line 2744)
background-color:#FFFFFF;
color:#536482;
}
this CSS near the end of your file is overwriting this:
body {style.php (line 126)
background:#1A2239 url(http://www.bigbrotheraccess.com/wp-content/themes/BigBrotherAccess/images/bg3.jpg) repeat-x scroll 0%;
color:#828282;
font-family:Verdana,Helvetica,Arial,sans-serif;
font-size:10px;
padding:0px 0pt;
}
redViper
May 31st, 2008, 12:11 AM
thank-you!
and firebug is installed hopefully I will get use out of it :)
redViper
May 31st, 2008, 12:25 AM
I love firebug!!!!!
Templarian
May 31st, 2008, 01:29 AM
Most do, it saves so much time for finding small errors.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.