Home  >  Q&A  >  body text

Issues with positioning of child elements

.left{

position: absolute;

left: 0;


width: 200px;

height: 600px;

background-color: #f03333;

}

.right{

position: absolute;

right: 0;


width: 750px;

height: 600px;

background-color: #f06666;

}

This is how I write it to be separated. Teacher An’s writing will overlap

张2400 days ago1424

reply all(1)I'll reply

  • 张

    2018-03-24 22:09:44

    I found the problem. I saw it wrong. It was top

    reply
    1
  • Cancelreply