CSS Syntax and Page Layout
Copy the image displayed below, and open it in libreOffice Draw (or in Paint, if you use Windows).
This web page is actually made up with boxes, as in the exercise 1.
How many of them do you see? Draw a rectangle to represent each of the containers that wrap information.
Udacity
Click the image below to open the page in a new tab, then inspect the element in Google Chrome
We'll henceforth use the margin property in CSS, instead of the <br> tag in the HTML file.
As mentioned previously, block-level elements fill up the page width. But how, then, to display them side by side, as in the exercise 1?
CSS fortunately allows us to set up the width and height of our boxes. Let's explore these properties on w3school.com ...
<< PreviousWords cloud created with tagul.com - images sourced from flickr.com