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

php - Admin SDK -- get information about the group -

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

Python Error - TypeError: input expected at most 1 arguments, got 3 -