+ 1

display and margine ? Css

display and margine? I can't get them who can explain please?

14th Aug 2017, 12:13 PM
SAMI BERHANE
SAMI BERHANE - avatar
3 Respuestas
+ 2
margin - space between this element and other
14th Aug 2017, 12:21 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 2
I can suggest you to google for pictures with a query: "CSS box-model" (or "CSS cheatsheet box-model") and you'll see a schematic picture showing what you can change for block elements and how it "plays".
15th Aug 2017, 12:34 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 1
display - how to show this element display: block | inline | inline-block | inline-table | list-item | none | run-in | table | table-caption | table-cell | table-column-group | table-column | table-footer-group | table-header-group | table-row | table-row-group
14th Aug 2017, 12:23 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar