Subscribe
yuix.org

Web Development Blog by Serdar AKARCA

  • Home
  • About

IE7 Bug: On window resize relative positioned elements disappear

November 10, 2009 – 1:52 pm

If you have relative positioned or floating elements on your page, try to resize your page in IE7, you will see some elements disappear. I also know that sometimes hovering block displayed anchors causes this bug.

Problem is causeing from haslayout property of these elements. If we change haslayout property, the problem is going to be solved. An easy hack of haslayout property is applying “zoom:1″ to elements:

relative_elements_selector {
  zoom:1;
}

Post a Comment

  • Pages

    • About
  • Archives

    • February 2010
    • November 2009
    • October 2009
    • July 2009
    • May 2009
    • September 2008
  • Blogroll

    • Codeigniter
    • YUI
  • Recent Posts

    • Free Virtualization Solutions
    • YUI’ye Başlangıç: YUI Nasıl Kullanılır?
    • Ubuntu 9.10 ve Vodafone 3G Modem: Huawei E620
    • IE7 Bug: On window resize relative positioned elements disappear
    • YUI Selector IE8 Bug and Solution
  • Tags

    codeigniter portfolio random colors recursive methods yui yui 3
  • Categories

    • codeigniter
    • css
    • hosting
    • javascript
    • linux
    • portfolio
    • ubuntu
    • Web Development
    • yui
  • Recent Comments

    • Yasin Meydan on ProcessingJs ve HTML5 Canvas
    • admin on My Portfolio
    • michele on My Portfolio
    • hussein on YUI 3 experimental example
Web Development Blog by Serdar AKARCA is proudly powered by WordPress Entries (RSS) and Comments (RSS).

some rights are sometimes reserved by someone