Aby to latwiej sobie wyobrazic zrobilem przyklad z backgroundem. Efekt taki sam jak chce osiagnac, ale z wewnetrzna trescia...
Da sie to jakos osiagnac ?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> </head> <body> <div style="margin:10px 10px 50px 10px"> <input type="button" value="up" onclick="document.getElementById('d1').style.height='100px'"> <input type="button" value="down" onclick="document.getElementById('d1').style.height='150px'"> </div> <!-- taki efekt wizualny jak ponizej chce osiagnac ---> <div id="d2" style="width:300px;height:150px;background-image:url(http://dwiestronyksiezyca.blox.pl/resource...ound-position:0 bottom"></div> <div style="margin:10px 10px 50px 10px"> <input type="button" value="up" onclick="document.getElementById('d2').style.height='100px'"> <input type="button" value="down" onclick="document.getElementById('d2').style.height='150px'"> </div> </body> </html>