God am I fed up!!! I have a typical layout with a header, left column, and main content area. I had it working perfectly in multiple browsers until I tried IE6.
The problem is that when the main content area stretches beyond the fold the left column (in IE6) doesn't stretch with it. I've tried everything, I've searched the web and tried a million so called solutions and nothing works. I've tried setting the body to have a height of 100% and then the left div to the same but it only stretches the length of the window and not beyond the fold. I tried programmatically (JavaScript and ASP.NET) accessing the height property of the main div and then assigning it to the left div but no joy. I've moved divs around and nested them within a main div but still no joy. Please help, I'm really considering going back to tables, I never had this kind of headache with tables. So how do I get the height of the left div to stretch with the main content div when the main content goes beyond the fold?
Unfortunately I don't have it up yet so I can't provide a link. To be honest from what I have been reading it seems that the type of layout I want isn't something CSS is very good at and that CSS is all about workarounds and hacks nowadays. Wasn't this technology suppose to be the answer to all our layout problems? I'm getting the impression it has lost its way. It has been a long time since I have done any CSS and I have to say I don't remember it being so difficult to do a simple layout. Thanks for your help anyway but I think I'll have to change the design to fit CSS rather than CSS fitting my design.
I've been having the same trouble. The "Holly Grail" of CSS has turned out to be a holy nightmare. Don't get me wrong, I love the layout and I think it looks great but I want my content to stay set even when the window is reduced.
With the layouts I've seen recently they look good but only when at full screen at specific resolutions. Reduce the window a little and everything goes nuts. I hate it. Ahhhhhhh!
My website (www.bangingsoundsofsilence.nl) is 100% CSS positioning, most of it relative.
Now it looks great in FireFox and even in IE7, but IE6 screws it up.
The menu isn't heigh enough, it's just the height of the text (in the content div), so when there's only a small content, half of the menu is shown.
I tried some fixes (including the "Holy Grail"), but the just don't help me out.
I'm at the point of making a script that shows an alert when the browser is IE6 or lower, but that's not very user friendly...
If anyone got a working solution... please let me (and others) know!
René
Don't take life to serious, you won't survive it anyway...
Bookmarks