position:fixed not working in IE
Here is another Internet Explorer problem.
Position:fixed doesn't work. I know that it wasn't supported in the older versions of IE, but I can't get it to work in IE8 either.
Please check out the project site http://www.oribium.se/victory/ to see the problem yourself, and also review the source, without having me explaining it all in detail here.
If you compare the page in IE with for example Firefox or some other normal working browser, you will se that the bottom bar is not position fixed in IE as I want it to.
Please help me out!
read up on quirks mode and standards mode. http://www.quirksmode.org/css/quirksmode.html
just add an appropriate doc type to fix.
Thanks for your answer. I am currently using this doctype:
Originally Posted by letmehaveago
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
is that not correct?
Try forcing an IE7 emulation with:
And probably it would be better if you will remove the comment above your DOCTYPE. I suspect that will bring IE under quirks mode.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Originally Posted by Kor
Problem solved by moving the comment under the doctype.
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Tags for this Thread