Topic: IE6 position absolute top issue (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26838" title="Pages that link to Topic: IE6 position absolute top issue (Page 1 of 1)" rel="nofollow" >Topic: IE6 position absolute top issue <span class="small">(Page 1 of 1)</span>\

 
lufo
Obsessive-Compulsive (I) Inmate

From: Buenos Aires, Argentina
Insane since: Oct 2005

posted posted 10-13-2005 03:18

Hello people, please check out this url:

http://www.lki.com.ar/magnus/

The index (index.html) page has an horizontal bar absolutely positioned with BOTTOM. When you resize (horizontally) the browser, the bar sticks to the vertical shaped body, I mean, the position of the bar follows the resize. This is ok and it's what I want, and it works perfectly both in IE6 and FF.

In the novedades (novedades.html) page, which has the bar absolutely positioned with TOP (the page contains exactly the SAME style except for the TOP instead of BOTTOM), when you resize the browser (again, horizontally) it doesn't behaves like it does in Index page. This time the bar sticks to the page like if it was css position:fixed. It doesn't follow the resize. This happens only in IE6 (at least in mine...). FF does it right just like Index.htm.

To see clearly the difference of behavior, try simply to resize the
browser horizontally in Index.html and then in Novedades.html.

Why 'top' doesn't work like 'bottom'? Is it ok what I'm doing? And in that case, maybe someone knows a workaround?

Thank you very much and please excuse me if my english is too bad.

Luis

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 10-13-2005 08:22

IE likes both a vertical and horizontal value for absolute positioning, so just add this CSS:

code:
body { position: relative; } .body { left: 0; }

lufo
Nervous Wreck (II) Inmate

From: Buenos Aires, Argentina
Insane since: Oct 2005

posted posted 10-13-2005 16:57

Thank you VERY much, reisio!! Now it's working.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu