CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Footer disappeared without editing it (http://www.codingforums.com/showthread.php?t=283440)

cineweekly.com 12-03-2012 09:50 AM

Footer disappeared without editing it
 
My footer has disappeared when I was editing my html but I wasn't working on any of the footer content. I must have accidentally left a tag unclosed or something but I can't seem to find the problem. Since I wasn't working on the footer I can't really paste any code w/o the whole doc so it may be easier for you to double check me with Firebug or something similar.

http://www.urlgone.com/ac35ba/

My only validation errors are from Facebook's code or a few alt and type attributes that I need to clean up.

LearningCoder 12-03-2012 10:27 AM

Hi, just looked through the code.

Delete the line in red.

Code:

#background {
        margin:auto;
        margin-bottom: -51px;
        min-height: 100%;
        position:relative;
        min-width:1046px;
        background: #0000 ff url('images-alpha/bg1.jpg') repeat-y scroll top center;
}

Removing that made your footer re-appear.

Hope this helps,

Regards,

LC.

cineweekly.com 12-03-2012 11:33 PM

Well it does make it reappear but that's not my footer's styling. There should be a background graphic instead of just the black space and the font's styling is off. Also, I never edited the #background and the margin-bottom:-51px is what it was when I had my footer. Something else is the culprit.

EDIT: I found it! There was an extra } right before the footer's CSS. Thanks.


All times are GMT +1. The time now is 06:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.