is it possible to hide the exceeding element (i.e. photo) IF the said element is a different element (i.e. not child element) from its frame?
so usually we have frame element and its child like this:
<div id="frame">
<img src="xyz" />
</div>
with css:
#frame {overflow:hidden;}
but what if I need the exact same function with this situation:
<div id="frame">
</div>
<img src="xyz" />
for the example: http://jsfiddle.net/t7EgU/2/
and this is current result and the result I expect: http://i44.tinypic.com/hs0yv8.jpg
is there a way to solve this?
thx :)
