How do you make a <div> appear inside a parent <div> ? | Sololearn: Learn to code for FREE!

+1

How do you make a <div> appear inside a parent <div> ?

I have been trying to make a <div> appear inside another one. As we all know, <div>s are block level, so they tend to appear below each other. anybody got an idea?

8/16/2018 9:28:37 PM

Dzeff

3 Answers

New Answer

+5

Couldn't you just put a div inside the other one? https://code.sololearn.com/W61zN4ofOIR8/?ref=app

0

thanks for your answer but this is actually what i meant: <div class="wrapper"> <div class="a"></div> <div class="b"></div> <div class="c"></div> <div class="d"></div> </div> I want "d" to appear infront of "a" "b" and "c"

0

use CSS z-index