div{
display: inline;
}
myDiv {
margin-left: 30px;
height: 40px;
width: 40px;
background-color: red;
}
Overlapping div
I noticed that the #over overrides the #myDiv, any reason for this?
For further actions, you may consider blocking this person and/or reporting abuse
Ingo Steinke, web developer -
Jesse Williams -
Nenepo -
Zach Benson -
Top comments (1)
The way this question is written, it's impossible for us to help you. You will need to format the code for us to be able to read it correctly (use three backticks for that `, at the beginning and the end), and add all related code (HTML and CSS, and hopefully a link to a demo on JSFiddle or Codepen or similar).