Questions tagged [haslayout]

hasLayout is an IE/Win-specific element property which determines how the element is rendered by the browser. A lot of IE6/7 specific rendering problems can be solved by giving the element layout.

Reference: On having layout.

34 questions
2
votes
1 answer

A peekaboo bug in Internet Explorer 9?

Okay, I'm baffled. IE9 is displaying inconsistent page width issues on some but not all pages of a site under development. In IE9: Going to http://sistercarmen.org/cms/ you can see what looks ROUGHLY like the right page. Actually the page is…
Jeremy Carlson
  • 1,183
  • 10
  • 17
1
vote
1 answer

CSS Opacity not working in IE7 or IE8 even with hasLayout triggered

I have this slideshow with a overlay that pops up on hover, you can view it here. Just hover over any pictures below the 'featured' section. Works great in FF, Webkit, IE9. I made a separate stylesheet for less than IE9 and in it I have declared…
huzzah
  • 1,793
  • 2
  • 22
  • 40
1
vote
0 answers

Internet explorer Absolute positioned element bug

G'day, I'm getting really weird behavior on IE (8/7/6) for an absolutely positioned element. It is styled as: position: absolute; right: 5px; top: 0px; z-index: 5000; and the has a vertical scrollbar. When the page is first rendered, the…
Gaurav Dadhania
  • 5,167
  • 8
  • 42
  • 61
1
vote
1 answer

Block Formatting Contexts, Collapsing Margins and Floating Containers

In order to understand what does a block formatting context do, I'm trying to find out what's going on when a BFC is not created. I took the following demo from Everything you Know about Clearfix is Wrong: .wrapper { width: 740px; …
nalzok
  • 14,965
  • 21
  • 72
  • 139
1
vote
1 answer

Peekaboo Bug in IE 11 (AdSense not showing until window is interacted with)

I am completely puzzled and discouraged. There is the following problem on a website: Google AdSense banners are not showing up in Internet Explorer until the browser is somehow interacted with. I have checked it on four completely different…
timetowonder
  • 5,121
  • 5
  • 34
  • 48
1
vote
1 answer

Work-around for IE7 to wrap text when hasLayout applied

Is there a work-around for the known IE7 issue where text does not wrap around floating elements when the text's container has hasLayout applied (in this case, due to the height, which is required)? For example:
scader
  • 405
  • 3
  • 8
  • 19
1
vote
0 answers

IE 7 hasLayout Bug on li class

I have created a navigation for a WP theme that uses the classes that are written out via the CMS on to the "li" element and not the "a" class. As a result on IE7 there is a hasLayout but on the navigation when you hover over a link, the whole…
user2852784
  • 101
  • 1
  • 4
1
vote
1 answer

What does "hasLayout = -1" in Buggy Old IE means...?

When hasLayout = -1 is it set to true or false....? Thanks..!
SpikETidE
  • 6,711
  • 15
  • 46
  • 62
0
votes
1 answer

Menu jitters on hover in IE7. HasLayout issue?

When I test in IE7, the menu jitters on first mouseover and changes position slightly. Also, when hovering over a menu item that contains a submenu, the menu jitters again. I think both issues have to do with IE7 hasLayout but I'm not sure.…
BumbleB2na
  • 10,723
  • 6
  • 28
  • 30
0
votes
2 answers

ie7 haslayout: -1 even with zoom: 1

I have anchors with text in them set to 0 opacity and positioned absolutely above images. I want them to partially show on hover with 0.6 opacity with a background color. In IE 7, the background is non-clickable. I have to hover where the text…
gavsiu
  • 757
  • 5
  • 9
  • 27
0
votes
1 answer

Why is IE7 & IE8 says that it 'hasLayout', when it doesn't?

HTML:
Tb with DIV col2 col3
col1 col2 test col3
silversky
  • 523
  • 9
  • 14
0
votes
1 answer

ExtJS component positioning bug in IE7

The image below is a simplified version of the problem I'm facing. Both #custom and #ext-ct are hand coded. An ExtJS component is rendered to #ext-ct. Then #custom is toggled playing with its display CSS property. In IE7, showing #custom causes the…
user1636522
0
votes
1 answer

CSS HasLayout IE7 Bug - Tried Zoom and overflow hidden

Problem I have tried many things to get the position: relative / absolute / fixed working in IE7. I can not work this out now. .levelTwo is the element that has pos: ab and .levelOne is element that has pos: rel. So the desired outcome will be any…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291