Tom,
Thank you for you code.
However this code doesn’t work in IE8 neither in IE9 and IE10.
When you scroll your page, you’ll see that this test block will scroll too.
I’d like that this block stays at the bottom of the page.
I have a bad feeling. This will not work in Quirks mode.
Regards,
MarieAnge
-----Original Message-----
From: Tom Livingston [mailto:tom...@gmail.com]
Sent: Thursday, August 29, 2013 5:28 PM
To: Eric
Cc: DEMEULEMEESTER Marie-Ange; CSS Discussion Group
Subject: Re: [css-d] How can I use position fixed in IE?
I was able to get this to work in 8:
<style type="text/css">
*{margin: 0; padding: 0;}
body{position: relative;}
.test{
position:fixed;
_position: absolute;
bottom:0;
left:0;
z-index:2147483647;
}
</style>
Not sure if this will work in your case...
On Thu, Aug 29, 2013 at 11:26 AM, Eric <e...@minerbits.com> wrote:
> Hello Again,
>
> It works in IE10 also.
>
> Eric
>> On August 29, 2013 at 10:43 AM marie-ange.demeulemees...@bnpparibasfortis.com
>> wrote:
>>
>>
>>
>> Hi,
>> How can I use position fixed in IE 8+ without changing the doctype: <!DOCTYPE
>> html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >, and without using
>> jQuery?
>> This code doesn't work:
>> .test{
>> z-index:2147483647;
>> position:fixed;
>> bottom:0;
>> left:0;
>> }
>> Thanks a lot.
>>
>> Regards,
>>
>> Marie-Ange
>> ======================================================
>> BNP Paribas Fortis disclaimer:
>> http://www.bnpparibasfortis.com/e-mail-disclaimer.html
>>
>> BNP Paribas Fortis privacy policy:
>> http://www.bnpparibasfortis.com/privacy-policy.html
>>
>> ======================================================
>> ______________________________________________________________________
>> css-discuss [css-d@lists.css-discuss.org]
>> http://www.css-discuss.org/mailman/listinfo/css-d
>> List wiki/FAQ -- http://css-discuss.incutio.com/
>> List policies -- http://css-discuss.org/policies.html
>> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
--
Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/