CSS div wont wrap around the other divs/ making my site funk
Posted: Mon May 04, 2009 4:56 pm
Ok, I tried making a header div, a links div, a main content div, and a footer div... but i tried to wrap a div around them all to easily change the background color of it to white and the outside to black. But I would have black all between the links and main div, and it just wouldnt go sad.gif the styles sheet is at http://www.318desprairies.com/styles.css
BUT... i'm giving up on that for now but if someone had the time to just look for a second as to why the .con div wouldnt wrap around it... but can someone help me with the below..
Ok here's the basic setup a Fixed header 950px wide
A fixed left links area say 150px wide,
A fixed body main page of 800px wide
and a fixed footer with a width of 950px
The only thing I want to have scrolling is the Main page
I want it all wrapped in one div so I can make the background in that div white, and have the background of the site black.
Also I think the height of the body needs to be 100% so it can fit on any size screen, but I want the width fixed.
Thanks
if I need to make a few changes to the px I can no problem but Just need help with the initial setup.
Thanks
All I want is the header to always be the same, and the footer. i just want the body main to scroll.
Can someone help me set this up? i'll build the rest of the site from there.
For reference, The site I am working on is http://www.318desprairies.com password is 318DPL (after you click Englsih) So you can see the setup I am trying to accomplish. but since I changed the background to black everything got messed up and now someone told me I should of built it using %'s. I havent done that before and need to have this done for tomorrow as a sample.
Please any help would be great. I'll follow the template and build the site from there.
Thanks
D
BUT... i'm giving up on that for now but if someone had the time to just look for a second as to why the .con div wouldnt wrap around it... but can someone help me with the below..
Ok here's the basic setup a Fixed header 950px wide
A fixed left links area say 150px wide,
A fixed body main page of 800px wide
and a fixed footer with a width of 950px
The only thing I want to have scrolling is the Main page
I want it all wrapped in one div so I can make the background in that div white, and have the background of the site black.
Also I think the height of the body needs to be 100% so it can fit on any size screen, but I want the width fixed.
Thanks
if I need to make a few changes to the px I can no problem but Just need help with the initial setup.
Thanks
All I want is the header to always be the same, and the footer. i just want the body main to scroll.
Can someone help me set this up? i'll build the rest of the site from there.
For reference, The site I am working on is http://www.318desprairies.com password is 318DPL (after you click Englsih) So you can see the setup I am trying to accomplish. but since I changed the background to black everything got messed up and now someone told me I should of built it using %'s. I havent done that before and need to have this done for tomorrow as a sample.
Please any help would be great. I'll follow the template and build the site from there.
Thanks
D