daniel__
daniel__

Reputation: 11845

overflow hidden - problem in IE7

i am using this plugin http://www.wbotelhos.com/capty/ and i find that it have problems in IE 7

the overflow: hidden is not working (file js)

anyone know how this can be fixed? and if we can solve this issue i obviously will share with developer

thanks!

Upvotes: 0

Views: 3272

Answers (2)

daniel__
daniel__

Reputation: 11845

this solve the issue:

line added:

position: 'relative',

final code

$wrapper.css({
            overflow:   'hidden',
            position: 'relative',
            height:     $this.height(),
            width:      $this.width()
        });

Upvotes: 8

kennebec
kennebec

Reputation: 104850

before IE version 8, some style properties, including overflow, only apply to an element if the element has what IE calls the hasLayout attribute, set explicitly or automatically when its position is set to relative or absolute (set, not inherited). The doctype must also be one that does not force IE 'quirks' mode.

Upvotes: 0

Related Questions