Solved

Why won't my content show on my pages?

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now