Solved

Why won't my content show on my pages?

Posted on 2011-02-20
4
745 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
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 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 500 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

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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?
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

713 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