Is there a way, CSS or JavaScript, to allow overflow of one element in a DIV, even if its overflow of the parent path is hidden.
I wrote a jQuery slider that hides slides using overflow: hidden .
<div class="container"> <img src="image.jpg" /> <div class="text"> THIS TEXT IS HIDDEN WHEN POSITIONED OUTSIDE OF .container </div> </div>
CSS:
.container{ overflow:hidden; position: relative; width: 500px; height: 250px; }
I need the image to overflow naturally.
Lee price
source share