diff --git a/unit_01/w01d04/homework/CSS.md b/unit_01/w01d04/homework/CSS_Selector/CSS.md similarity index 100% rename from unit_01/w01d04/homework/CSS.md rename to unit_01/w01d04/homework/CSS_Selector/CSS.md diff --git a/unit_01/w01d04/homework/CSS_Selector/index.html b/unit_01/w01d04/homework/CSS_Selector/index.html index 85443a5..439c2bd 100644 --- a/unit_01/w01d04/homework/CSS_Selector/index.html +++ b/unit_01/w01d04/homework/CSS_Selector/index.html @@ -11,11 +11,9 @@
The default display style of a <div> tag is BLOCK.
+The best way to horizontally center an element is to set the left-margin and right-margin to auto or use the margin: 0 auto declaration.
+Padding is the space between an element and it's border ("insidey" or "indoorsy"), while margin is the space between that border and an adjacent element ("outsidey" or "outdoorsy").
+Fixed positioning places an element in relation to the browser window, while absolute positioning places an element in relation to it's container.
+A clearfix will auto-size a floating element's container to match the floating element itself. Otherwise, the element can flow outside it's container in wonky ways.
+