The problem is that internet explorer does not support fixed value for the display attribute, but i am dying to use that, as my presentation (which is to be done in HTML) uses that for a very cool effect which i can't afford to miss out. but i have seen many sites fake it using JavaScript, so i just wanted to know how to do it.. thanks a lot.
Faking fixed position in Internet Explorer
well.. i got the solution for this: http://web.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html
| rohan2kool wrote: |
| well.. i got the solution for this: http://web.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html |
That's probably the best solution, if it works for you, since using JavaScript will not be nearly as fluid as using CSS. Best way would be to include the "hack" stylesheet in a conditional comment for IE6 only (along with overriding previous "position: fixed" with "position: absolute" inside the same conditional comment), since IE7 (in strict mode) does support fixed positioning.
well.. i also wanted to know how to fake min-width in IE. IE doesn't seem to support any CSS Standards. I found a JS hack for it, but i don't want to use a script based hack. Still looking for some CSS/html based solution, but it does work properly 
min-width isn't hard. width is hard
IE 6's width property is min-width. IE7 (supposedly) does it properly. Haven't installed IE7 RC1 yet, since I still need to make sure things work in IE6
To get it to work, you'll need different solutions depending on what you want to do.
IE 6's width property is min-width. IE7 (supposedly) does it properly. Haven't installed IE7 RC1 yet, since I still need to make sure things work in IE6
To get it to work, you'll need different solutions depending on what you want to do.
Related topics
