Can someone help me with a CSS/HTML Error?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
bonesbrigade
Forum Newbie
Posts: 5
Joined: Fri Jan 02, 2009 11:36 pm
Location: Los Angeles, CA - USA

Can someone help me with a CSS/HTML Error?

Post 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:
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

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

Post by kaszu »

Looks fine in FF3.1 and IE8
oliur
Forum Commoner
Posts: 29
Joined: Tue May 26, 2009 3:43 am

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

Post 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?
Last edited by Benjamin on Tue May 26, 2009 11:20 am, edited 1 time in total.
Reason: Changed code type from text to css.
ofir0803
Forum Newbie
Posts: 22
Joined: Sun Jan 18, 2009 3:03 pm

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

Post 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
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

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

Post by kaszu »

Setting P margin to 0 would affect all content P tags, not having whitespace after/before P is really bad idea.
Post Reply