socken 0 Posted January 31, 2006 Report Share Posted January 31, 2006 On a test-page, as soon as I set the position of the content to absolute, the footer gets overriden. I need to set it to absolute, so I can use 'left: 300px' and the menu doesn't get touched by the content. is there something I should beware of?!?Thanks for any help!! Quote Link to post Share on other sites
aspnetguy 30 Posted January 31, 2006 Report Share Posted January 31, 2006 when you use absolute positions it is like you are putting a new layer over top of the page...that is why it overrides the footer. You will have to either set the footer as absolute under the iframe or set the iframe/div to be a specified height and set the overflow to auto.If you are refereing to the same page as in your previous post the footer is only being overridden in FF, IE is showing correctly (which means basically nothing since IE is quirky). Quote Link to post Share on other sites
socken 0 Posted January 31, 2006 Author Report Share Posted January 31, 2006 Hi, thanks alot for your explanations. Actually, that's not the same page I'm talking about But, I do have the same problem on both pages! What exactly does the overflow option do? When I set it to auto that is.... Quote Link to post Share on other sites
aspnetguy 30 Posted January 31, 2006 Report Share Posted January 31, 2006 if you set a fixed height and use overflow:auto, when the content gets bigger than the defined size it automatically puts in scrollbars in the defined area Quote Link to post Share on other sites
socken 0 Posted January 31, 2006 Author Report Share Posted January 31, 2006 OK, thanks again!I guess I'm not allowed to post links in here. Can I send you a PM with a link?!Would really like to show what I'm talking about. I'm shure you can help me! I've been trying to solve this one for WEEKS now!! Quote Link to post Share on other sites
aspnetguy 30 Posted January 31, 2006 Report Share Posted January 31, 2006 you are allowed to post links but if you'd rather PM me then that is fine too. Quote Link to post Share on other sites
socken 0 Posted January 31, 2006 Author Report Share Posted January 31, 2006 There's an idea:I just set min-width of the content to a fixed value. Works perfect in FF. AGAIN, Like always: NOT IN IE!!!Ah, I think...I only think, this programs su**s more than any other thing from Micro$oft... Quote Link to post Share on other sites
aspnetguy 30 Posted January 31, 2006 Report Share Posted January 31, 2006 The reason some of the things you are doing don;t work in IE is becuase FF uses CSS2 while IE6 is still using CSS1 (min-width is not part of CSS1) so when IE7 comes out at the end of this year it will have full CSS2 support. Quote Link to post Share on other sites
socken 0 Posted January 31, 2006 Author Report Share Posted January 31, 2006 Well, I certainly can't wait till everybody switches to IE7.0 BUT: I just read on the selfHTML-Forum, that in IE, height is somehow doing what min-height does.. Well, or something like that..I think it works. Quote Link to post Share on other sites
socken 0 Posted January 31, 2006 Author Report Share Posted January 31, 2006 Hallelujah!!It defintely works in FF + IE. I used the following method:For Firefox, I set #content { min-height: 500px;} because IE doesn't understand that, I use this 'hack': * html #content { height:500px; } Thanks again for your help! You lead me on the right path Quote Link to post Share on other sites
aspnetguy 30 Posted January 31, 2006 Report Share Posted January 31, 2006 good to hear! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.