socken Posted January 31, 2006 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!! Link to comment Share on other sites More sharing options...
aspnetguy Posted January 31, 2006 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). Link to comment Share on other sites More sharing options...
socken Posted January 31, 2006 Author 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.... Link to comment Share on other sites More sharing options...
aspnetguy Posted January 31, 2006 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 Link to comment Share on other sites More sharing options...
socken Posted January 31, 2006 Author 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!! Link to comment Share on other sites More sharing options...
aspnetguy Posted January 31, 2006 Share Posted January 31, 2006 you are allowed to post links but if you'd rather PM me then that is fine too. Link to comment Share on other sites More sharing options...
socken Posted January 31, 2006 Author 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... Link to comment Share on other sites More sharing options...
aspnetguy Posted January 31, 2006 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. Link to comment Share on other sites More sharing options...
socken Posted January 31, 2006 Author 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. Link to comment Share on other sites More sharing options...
socken Posted January 31, 2006 Author 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 Link to comment Share on other sites More sharing options...
aspnetguy Posted January 31, 2006 Share Posted January 31, 2006 good to hear! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now