Professional Documents
Culture Documents
HTML Css Notes 5
HTML Css Notes 5
padding controls the spacing between an element's content and its border, while
margin controls the spacing between an element's border and other elements on the
page.
to add a border:
border-right: 3px solid#111;
(border right : to add a border to the right of an element/solid#111 to set the
color of this border)