Yippy MORE CSS!!!
*if only the macs could just stop working*
Must every week of this course start with a sigh?
SIGH!
Just a little recap... It is important to note that CSS rules are only applicable one of two ways.
1) A link from the HTML page to the CSS page;
<link rel="stylesheet" type="text/CSS" href="style.css"/>. This is known as
an external link (external style sheet).
2) By utilizing the "style" element, CSS rules can be applied within the HTML
page. This is called inline styling.
***Inline styling takes priority over that of the external sheet.
CSS is a whole collage of worrysome work. I don't even know where to begin. In a nutshell CSS makes the following possible. The styling of font, text, background, border, margin, padding, dimensions, positioning, outlines, table, list, classification and I'm sure I missed some.Yes crazy stuff.
This week we got into div/span...more so divs. Divs are 'divisions' or sections that
groups elements so CSS can easily manipulate the layout of the document.
So a typical web page would have more than one columns and to properly position
the content of the HTML, CSS makes easy work of the Div element.
EG. HTML <div class="left">
<h2>Menu</h2>
<p>...</p>
</div>
CSS .left {float:left
position:;
top:;
left:;}
With the Use of the Div I would be able to position or apply styling to the <h2> and <p> tags , or anything else that appears within that Div.
Good Stuff ehh?