so if you go to my webiste here
you will notice under my Footer there is a big black section how to i get rid of that because its not in y html and i was wondering it might be in the css plz could someone look plz ;] my Css
so if you go to my webiste here
you will notice under my Footer there is a big black section how to i get rid of that because its not in y html and i was wondering it might be in the css plz could someone look plz ;] my Css
A concise diagnosis and a simple, modern fix.
The visible black band is usually the page background showing because the footer or main content does not reach the bottom of the viewport, or because extra spacing on the footer pushes it up. was right to suggest using the browser devtools; and correctly flagged extra footer rules as a likely cause; and noted the page body is using a dark background. Combining those observations gives a reliable troubleshooting path.
Quick debug checklist (use DevTools / F12)
A modern, robust layout that keeps the footer at the bottom (flexbox)
html, body { height: 100%; margin: 0; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1 0 auto; } /* page content expands */
footer { flex-shrink: 0; } /* footer stays at bottom */ Notes and cautions
This ties together the earlier replies: use DevTools to confirm which rule is causing the gap, remove the unnecessary footer spacing that others pointed out, or switch to the flexbox wrapper above for a clean, future-proof solution.
Jump to Post— pritaeas 2,276If you use the developer tools of your browser, you can easily see what's what.
Jump to Post— Galbatorix 0Remove this two properties from your #footer
clear: left; padding-bottom: 74px;and you should have everything back to normal.
If you use the developer tools of your browser, you can easily see what's what.
Remove this two properties from your #footer
clear: left;
padding-bottom: 74px;
and you should have everything back to normal.
I dont see any elements below your footer. It's black because you applied a background-color of #000000 (black) to your body element.
I assume you are asking about this because you want your footer to be placed at the bottom of your page?
If so, here is a summary on how to do that: Pushing a Footer to teh Bottom of a Web Page
If you provide a picture or layout of how you want the page to look like, better guidance can be provided to you.
remove css
#Footer {
clear: left;
padding-bottom: 74px;
margin: 16px auto 0px auto;
}
this three property and you got what you want and also download firbug for mozilla and chrome so you can solve css problem
There is very little to view on the page you have linked too so it is not too clear just what layout you are trying to achieve. However, as the previous poster mentioned, it strikes me that what you want - amongst other things - is to see the footer appear consistently at the bottom of the page. Judging from your current page layout I would suggest that it might well be worth looking at the jQuery UI layout plugin - Click Here
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.