back-ground color won't "take" in footer

hi there,
so, now I want to put a background color on my footer.
I am having no luck. When I try to put it in the footer content div the color goes way up in the page.
boo hoo.
I'm sorry, I will need to add my files, I don't have this site live.
god speed.
thank you! main.css screen.css index.html
lisakilgoreAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

remorinaCommented:
Hi lisakilgore,

You need to add overflow:hidden; and clear:both; to your footer, try updating your #footer-content class as below

#footer-content {
    display:block;
    background-color:black;
	padding:25px 0 0 5px;
	margin-left:auto;
	margin-right:auto;
	width: 1000px;
	font-size: 1em;
	color: #333;
	overflow:hidden;
    clear:both;
	}

Open in new window

Cheers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
simpsolCommented:
Looked at the main.css file. In ths CSS file you have the following
#divfooter { ...  }

In your html just have <div id=footer>,,,,</div>

Change the css #divfooter to just #footer and you can also add the backgroud-color: black; there and this should resolve your issue.
0
TomMicrosoft ISV PartnerCommented:
you are missing a </div> tag all the way at the bottom in your index.htm insert it here:

</body>
</div>
</html>

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.