![]() |
Arrgghhhhhh... Any CSS "experts" around?
I need all 3 "boxes" to be the same height and it can't be fixed as the content can vary. The "container" doesn't even have a fucking height.
Code:
<div style="width:750px;border:1px solid black;"> |
How can they all be the same height but not be fixed at the same time? Not much support for min-height out there.
Maybe I'm just not understanding what you're trying to do. Is this a 3 column layout? |
Quote:
|
So a header and 2 columns?
|
Quote:
eg: Code:
<div class="container"> |
Code:
#wrapper {Code:
<div id = "wrapper">I could be way off. Thats a simple two column layout. Again. I'd need to see an example to know what you're talking about. my apologies |
The nav needs position: absolute;
Make sure you add at least <br style="clear:both;" /> or another div after the two columns. |
Code:
body {the wrapper should now auto adjust its height depending on the content in left and right. again. a little tired. |
My notes say absolute, but my blog us using relative.. So the absolute is to place a div, so use relative with the float tag.
|
Shit. Ignore the shit I added to the wrapper
Here goes the full code for a 2 Column Layout with an auto-adjusting wrapper/container. Code:
<style type="text/css"> |
ok cool... it appears that just using the overflow:hidden made the wrapper take the full height..
But.. and I've tried all sorts of things to set the "height", the navigation div still won't fill the entire height of the wrapper (which gets pushed by the content column). |
The reason I need the nav column to be the full height is because it's a different background color.
|
Quote:
thats the easiest solution. |
Quote:
|
Quote:
If you want to get to the bottom of this problem for future layouts check out this page. http://www.pmob.co.uk/temp/2colcentred_contentfirst.htm I hate using hacks because I still don't have a complete grasp of them. Even just now when I was digging through my completed layouts to find a solution for you I found myself lost in my own code. Good luck |
No easy solution for this, that's for sure. You can use javascript to do it too, but it doesn't work if js is off of course.
|
Well it's lookin all purty now... as long as the content box is higher than the nav box.. LOL... Good enough for now... Thanks guys..
|
| All times are GMT -7. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123