* { margin:0; padding:0; } #context { width:300px; height:50px; line-height:50px; border:3px solid blue; text-align:center; position:relative; z-index:10px; } img { position:absolute; width:100%; height:100%; } button { position:relative; z-index:10px; width:100px; height:50px; margin-top:10px; }