IE png superuser fix causing overflow problem

I use supersleight to fix png transparency, but it causes a strange error when the browser seems to ignore the overflow rule in IE6.

Here's what it looks like (it should have hidden the list of things, but you get the idea ...) alt text http://img15.imageshack.us/img15/8052/overflowexample.jpg

I am stuck with using a fix and have never encountered a problem before.

Here is the markup:

            <div class="placeholder">
                <div class="image">

                    <img src="img/blank.png" alt="" />
                    <img src="img/1.png" alt="" id="image1" />
                    <!-- More images... -->
                </div>
                <div class="text">                      
                    <h2>Time</h2>

                    <div class="scroll">
                    <ul>
                        <li><a href="#image1">List item</a></li>
                        <!-- More list items... -->                 
                    </ul>
                    </div>  
                </div>
                <br class="clear" />                        
            </div>

And CSS:

#location #content.occupiers .placeholder .text .scroll{height: 380px; width: 260px; overflow: auto;}

jquery , jquery . : . , , . div . , , !

+3
1

position:relative scroll?

+1

Source: https://habr.com/ru/post/1755952/


All Articles