haslayout

Internet Explorer ol numbers appear at bottom of li instead of top as expected

I'm working on a page has an ol with nested p's, div's, and li's. Internet Explorer 6 and 7 both render the numbers for the ol tag after the p element at the end (at the very, very bottom of the li tag) rather than at the top of the outermost li as expected. I'm working on a PowerPC Mac and can't do any testing. Is there some simple CSS ...

Why does Internet Explorer need the "hasLayout" flag?

Like many developers working on web sites for Internet Explorer, I seem to come across a lot of bugs that are caused by the notorious hasLayout flag. I understand what this flag does and how it works (for the most part). A good explanation I read the other day (although I can't find the source) is that hasLayout in IE essentially means ...

Applying hasLayout to the i element via zoom or inline-block causes it to line break in IE7

I've had to apply hasLayout to the <i> element to avoid an IE7 bug in which sentences with italics obscured images that those sentences were on the same horizontal line as. I've done so using either the zoom property or the display: inline-block property. But now, any phrase in italics causes the italic portion to behave as if it were ...

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

Hi y'all... When hasLayout = -1 is it set to true or false....? Thanks..! ...

Can you determine hasLayout in IE8's developer toolbar?

There was a lot of talk that IE8 was supposed to fix/remove hasLayout. Doesn't seem to have happened, though it's not usually an issue. The problem is that when it does crop up there doesn't seem to be a way for IE8's developer toolbar to tell you hasLayout is being applied, as it used to do in IE7's developer toolbar. Does anyone have...

How to stop IE7 clearing floats because of width property

I have a containing element with a number of floated elements in it. That containing element also has a percentage width value applied to it. In IE7, content following the element containing the floats is cleared because of the width value which gives it hasLayout (I think!). I don't want the containing element to haveLayout, but I do ...

Is it okay to use zoom:1 in my css classes?

Whenever I find IE is displaying my website weird (different from chrome and firefox), I try putting a zoom:1 in the css class for the part that is being displayed weird. A lot of the time this fixes the problem and makes it look consistent with the other browsers. Is it a problem to use zoom:1? I know my CSS won't validate, but are t...

Formatting issue with IE6 working well with IE 6+

Hi All, I have my site working perfectly in IE 6+ but it looks weird in IE 6 or IE 5.5, as I can't ignore the users with IE6 because still around 6% of traffic occur from this version. I am looking forward to have the alternate. With my some research I came to know that by setting haslayout property, I can solve out formatting issue, b...

Negative Margin on Relatively Positioned Inline Element Sometimes Clips Characters in IE7

I have <a> elements in two different contexts on my page, some are in divs (call them .container > a) and some are in child divs (like .container > .section > a) and even some that are in further descendant divs (like .container > ... > .section > a). I am currently doing some formatting on the inline <a> elements with the following CSS...