html - Place two objects at THE SAME spot in css -


let's assume have 2 objects, em , button

 <button class="navigatebutton" wicket:id="rw">test1</button>   <em class="logoutbutton"><a wicket:id="rw2">test</a></em> 

is there way place 2 of objects @ same spot without using position:fixed? in code handle 1 should shown, since different functions. want show @ 1 specific spot, regardless 1 hidden. there never 2 of displayed @ same time.

put them both container <div> , give them

position: absolute; top: 0; left: 0; 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -