Page 1 of 1

Can someone help me with a CSS/HTML Error?

Posted: Sat May 23, 2009 3:22 am
by bonesbrigade
Web site: http://www.onlycoolpeopleread.com/
Problem: The large gap apparent between the bottom of the Content Div and the top of the Footer Div. This occurs in Firefox and IE.

If anyone could glance at this and see what is causing this problem and perhaps tell me how it can be fixed (or at least offer insight on why it may occur). Again anything to help would be so very amazing.

Feel free to rip on my style too.. :mrgreen:

Re: Can someone help me with a CSS/HTML Error?

Posted: Sat May 23, 2009 6:37 am
by kaszu
Looks fine in FF3.1 and IE8

Re: Can someone help me with a CSS/HTML Error?

Posted: Tue May 26, 2009 11:13 am
by oliur
I think where it says:

Code: Select all

 
#Footer {
    CLEAR: both; MARGIN-TOP: 20px; WIDTH: 972px; HEIGHT: 35px; BACKGROUND-COLOR: #cc0000; TEXT-ALIGN: center
}
 
change MARGIN-TOP: 20px to 0px;


Did it work?

Re: Can someone help me with a CSS/HTML Error?

Posted: Wed Jun 17, 2009 9:52 am
by ofir0803
this is your problem

Code: Select all

 
.typography p {
color:#666666;
font-size:11px;
line-height:18px;
margin:0 0 18px;
}
 
reset the 18px of the margin to 0px

Re: Can someone help me with a CSS/HTML Error?

Posted: Wed Jun 17, 2009 11:57 am
by kaszu
Setting P margin to 0 would affect all content P tags, not having whitespace after/before P is really bad idea.