|
Webpage help needed (divs specifically). | by shorty82 | 2006-11-19 12:55:59 |
| float: left is your friend. |
by merlin |
2005-09-12 18:30:18 |
Your sidebar DIV should have a float: left and a height: 100%.
Also, wrap your two side-by-side divs in a div wrapper. The longer right-hand DIV will force the height of the container DIV, and with a height: 100% on your sidebar DIV it will extend to the same height.
Basically, something like this:
[div class="wrapper"
[div class="sidebar" style="float: left; height: 100%"]
sidebar, menu data here
[/div]
[div class="content"]
main content data here
[/div]
[/div]
--
merlin |
|
[ Reply ] |
|
The only change is that there | by shorty82 | 2005-09-12 18:38:17 |
|
Take a look at this: | by merlin | 2006-11-19 12:55:59 |
|
And that works in IE, FF and Opera (n/t) | by merlin | 2005-09-12 18:42:58 |
|
Oh, and you'll need the CSS doc as well. | by merlin | 2006-11-19 12:55:59 |
|
Thanks, I'm not sure what from there I need. | by shorty82 | 2005-09-12 18:51:11 |
|
I wonder if the problem is not related to your | by merlin | 2005-09-12 19:08:18 |
|
Oops, nevermind. According to | by merlin | 2005-09-12 19:10:14 |
|
I'm closing my li tags as part of making the page | by shorty82 | 2005-09-12 19:14:18 |
|
Yup, I figured that out. See my new TLR. (n/t) | by merlin | 2005-09-12 19:18:41 |
|
Actually, it mostly fixed it in IE, | by shorty82 | 2005-09-12 18:41:09 |