+ 1
Positioning with html
Is it possible to set two elements in html at same position??
5 Answers
+ 2
Vladimir yes..thank you
now it works ....
What a silly mistake I have done....
thanks đ
+ 1
thanks Brains
but check my code
https://code.sololearn.com/WCkIkEIEqn8A/?ref=app
I want to put two div's on top of each other ... at same position.
But they are appearing one after the another
+ 1
There is an error in your code:
#d1,#d2{
position: absolute; <- there was , instead of ;
top:20%;
left:50%;
height:100px;
width:150px;
}
Happy coding! :)
0
elem1,elem2{
position: absolute,
top:20%;
left'50%
}