Solved

Why won't my content show on my pages?

Posted on 2011-02-20
4
739 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use embargo Date/time in php 29 37
Changing way home page shows 2 29
Border and image sizing 5 19
How to position loader with CSS 3 36
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

776 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