Posts by Willian Ribeiro • 323 points
2 posts
-
6
votes2
answers2482
viewsQ: I can’t define margin-top/bottom/right for block element, why?
I have an element <p> within a <div>, thus: HTML <div> <p>texto</p> </div> CSS div { width: 30px; height:30px; background-color: green; } p { width: 30px;…
-
16
votes2
answers2406
viewsQ: "margin-top" and "margin-bottom" overlapping, why?
I have three elements div: HTML <div class="wrapper"> <div class="box"></div> <div class="box"></div> <div class="box"></div> </div> CSS .box {…