[WEB4LIB] fixed positioning does not work with Internet Explorer 6

Justin Rounds jrounds at uchicago.edu
Mon Nov 29 12:11:39 EST 2004


The style "position:fixed" does _not_ work in IE/Windows, so you can 
either use a frameset to achieve the results you want, you can hack up 
some dhtml that will reposition the "sidebar" div whenever the page is 
scrolled, or you can just live with it and design your page accordingly.

My recommendation is just to live with it -- this is W3C-standard CSS 
code that IE *should* be implementing, but doesn't.

Add it to the ever-growing list of reasons to dump IE.
_
j


John Fitzgibbon wrote:
> Hi,
> 
> =20
> 
> I am trying to create a side bar that will function like a navigation
>  page within a frame. I am trying to fix its position within the
> viewport so that it remains visible irrespective of how the page is
> scrolled. I thought the way to do this would be to use a style sheet
> to set position to fixed like so
> 
> =20
> 
> sidebar {position:fixed; top:0%; left:0%;}
> 
> =20
> 
> but this does not seem to work. The element is not fixed on the page.
> It disappears when I scroll down the page.
> 
> =20
> 
> Any ideas would be much appreciated.
> 
> =20
> 
> Regards
> 
> John
> 
> 
> *******************************************************************=20
>  T=E1 eolas at=E1 pr=EDobh=E1ideach agus r=FAnda sa r=EDomhphost
> seo=20 agus aon iat=E1n a ghabhann leis agus is leis an duine/na
> daoine sin amh=E1in a bhfuil siad seolta chucu a bhaineann siad.=20 
> Mura seola=ED th=FA, n=EDl t=FA =FAdaraithe an r=EDomhphost n=F3 aon
> iat=E1= n=20 a ghabhann leis a l=E9amh, a ch=F3ip=E1il n=E1 a
> =FAs=E1id.=20 M=E1 t=E1 an r=EDomhphost seo faighte agat tr=ED
> dhearmad,=20 cuir an seolt=F3ir ar an eolas thr=ED aischur
> r=EDomhphoist=20 agus scrios ansin =E9 le do thoil.=20
> 
> This e-mail and any attachment contains information which is=20 
> private and confidential and is intended for the addressee=20 only.
> If you are not an addressee, you are not authorised=20 to read, copy
> or use the e-mail or any attachment.=20 If you have received this
> e-mail in error, please notify=20 the sender by return e-mail and
> then destroy it.=20 
> *********************************************************************
> 
> 
> 
> 
> *********************************************************************
>  Due to deletion of content types excluded from this list by policy, 
> this multipart message was reduced to a single part, and from there 
> to a plain text message. 
> *********************************************************************
> 
> 
> 

-- 
-------------------------------------------
Justin Rounds
Graphic Design and Digital Media Specialist
Digital Library Development Center
University of Chicago
1100 East 57th Street
Chicago, Illinois 60637
(773)702-4391
-------------------------------------------



More information about the Web4lib mailing list