javascript - Handling negative-position images with overflow:auto -
consider following markup: http://jsfiddle.net/gbwgh/. because list overflows container , overlaps text below, i'd scrollable instead, set overflow:auto
. however, cuts off parts of image: http://jsfiddle.net/gbwgh/1/. removing rule make image appear properly.
how can make text scrollable without cutting off image? simplest option calculate coordinates manually using javascript, suggested in this answer?
img {position:relative; top : 20px; left : 20px;}
Comments
Post a Comment