FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Faking fixed position in Internet Explorer

 


rohan2kool
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.
rohan2kool
well.. i got the solution for this: http://web.tampabay.rr.com/bmerkey/examples/fake-position-fixed.html
Kaneda
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.
rohan2kool
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 Very Happy
Kaneda
min-width isn't hard. width is hard Wink

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 Razz

To get it to work, you'll need different solutions depending on what you want to do.
Related topics

CSS: Internet Explorer and pseudo-class
(official) IE 7 Topic
Internet Explorer "hacked"
Internet Explorer 7 sera mejor ?
Internet Explorer 7 is coming!!!

[soft]Firefox más inseguro que IE
*OFFICIAL* Which Browser do you use?
problem with internet explorer
I don`t succeed to connect to FTP
[Solved] [Java] KeyListener Not Working In Internet Explorer

Internet Explorer 7 Beta 2 Preview
Internet Explorer 7 (beta 2 preview)
My Internet Explorer keeps crushing.
Support Internet Explorer
So you're STILL using Internet Explorer?? Patch it!
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.