-5
Guys, I’m looking at Guanabara’s HTML lessons from almost 8 years ago and the first problem appeared. I’m doing exactly as he does, however, when I was divided into two sessions the site, the words do not depart, even putting the same dimensions of it. If I decrease one and increase another, or vice versa the texts only stretch to the right or left, but remain glued.
This is the code I’m using to make the float, in case you need more I put.
section#corpo {
display: block;
width: 500px;
float: left;
}
aside#lateral {
display: block;
width: 350px;
float: right
}
You must add the element
margin
to its column element. The value could put5px
and increase as needed.– Danizavtz
the body tag, or another parent tag may be set to exactly 500px+350px
– ruansenadev