This is a discussion on "css page layout help" within the Web Page Design section. This forum, and the thread "css page layout help are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
css page layout help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
css page layout help
I have a site designed with css here
The problem I am having is using a background div. I used one here but I don't know how to get it so it changes height when the sidebar & content div's do so they don't go outside the background div like the sidebar has done. How do I fix this? Last edited by debrag; Aug 30th, 2007 at 11:40. Reason: updated links |
|
|
|
|||
|
Re: css page layout help
links no go
|
|
|||
|
Re: css page layout help
sorry to many w's links have been updated
|
|
||||
|
Re: css page layout help
I'm confused ... what's it suppose to look like?
|
|
|||
|
Re: css page layout help
in the second link i have placed a div behind the content and sidebar div.
This div label 'back' doesn't change it's height so the over div's don't go out side it as the sidebar has done. How do I change this? are these 2 div's not inside the back div? |
|
||||
|
Re: css page layout help
|
|
|||
|
Re: css page layout help
ummm. yeah, it's inline... or in the html at least...
anyways, im with you, confused. my bed tim i think!! Last edited by nate2099; Aug 30th, 2007 at 11:55. |
|
|||
|
Re: css page layout help
Quote:
I set it up as a div I have no clue what a span is |
|
||||
|
Re: css page layout help
This is the code you have .... way at the bottom of your document.
|
|
|||
|
Re: css page layout help
|
|
|||
|
Re: css page layout help
Quote:
Acheive - to not have the black behind the sidebar & content divs, to have it white, trying to place a div behind them but can't get one that expands with the contents to work. |
|
||||
|
Re: css page layout help
Well yeah ... it's just a 2 column layout
Look at the sticky Resources for how to do css layout up top. There's tons of examples of layouts. Pick one and run with it
Last edited by karinne; Aug 30th, 2007 at 12:17. |
|
|||
|
Re: css page layout help
I take it 'branding' means header
Last edited by debrag; Aug 30th, 2007 at 12:28. |
|
||||
|
Re: css page layout help
Quote:
Yes ... branding is a much better word for header ... after all ... that is what you put in there |
|
|||
|
Re: css page layout help
Below is my code, the red parts are as follows:
'branding' = header 'container' = back 'side' = sidebar 'main' = contents going to www.libbytanner.diva-host.com/index1.php shows no change the side bar is still over the back(container) div. Have I closed the divs correctly?
#back { position:absolute; width:880px; height z-index:0; left: 11px; top: 23px; background-color: #FFFFFF; Last edited by debrag; Aug 30th, 2007 at 12:47. |
|
||||
|
Re: css page layout help
If you want to use positioning, position: relative; is the one you should be using for this ... not absolute.
z-index here is not needed. So ... if I have this straight, you want the black background around your content. And the content should be white. |
|
|||
|
Re: css page layout help
www.libbytanner.diva-host.com/index1.php and no I want 'container' to be white which it currently is. Last edited by Daniel; Aug 30th, 2007 at 13:07. Reason: [code] tags added |
![]() |
| Tags |
| css, div |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Layout for a links page | Zonglars | Graphics and 3D | 12 | Jul 22nd, 2007 06:03 |
| Help needed with page layout | Bhavana2001 | Starting Out | 1 | Mar 9th, 2007 14:36 |
| page layout | newbie2007 | Website Planning | 4 | Mar 6th, 2007 13:40 |
| Please check page layout in PC IE | Pixelate | Graphics and 3D | 2 | May 10th, 2006 09:45 |
| $250 for site layout (1 page) | fireflya | Job Opportunities | 1 | Sep 9th, 2005 21:13 |