?
Solved

Why won't my content show on my pages?

Posted on 2011-02-20
4
Medium Priority
?
749 Views
Last Modified: 2012-05-11
Hi, the background color for my content on all of my pages is white but it does not extend to the bottom. It stays at the top and gives my page elements the same background color as the web page.

http://marvelleselectrology.com/

If anyone knows how to get my content div to extend and contain all of the elements within it, that would be great!!
0
Comment
Question by:FairyBusiness
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
SSupreme earned 2000 total points
ID: 34938622
Try this:
#content {
    background: none repeat scroll 0 0 #FFFFFF;
    font-size: 18px;
    margin: 0 auto;
    position: absolute;
    width: 1000px;
}
0
 

Author Comment

by:FairyBusiness
ID: 34938640
Great, thanks that works!!

Can you tell me why my border around my body is only showing around my header? Should I do something similar to my body code?
0
 
LVL 16

Assisted Solution

by:SSupreme
SSupreme earned 2000 total points
ID: 34938664
Move your header inside "content", like this:
<div id="content">
<div id="header"></div>
<div id="sideBar">.....

Remove border from body and add it to "content".
0
 

Author Comment

by:FairyBusiness
ID: 34938678
Awesome, thanks for all of your help!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question