Web Design with HTML and CSS

(National Geographic (Little) Kids) #1
A brief history of layout techniques on the web

Lesson 7, Introduction to CSS Layout 159

2 Save the fi le and then preview it in your browser to see the eff ect of the new values.


Your page now uses an external style sheet for the text elements.

3 Return to your text editor and choose File > Open. In the dialog box that appears,
navigate to your web07lessons folder, select the base.css fi le, and click Open. Review
the styles in this CSS fi le. They should be familiar to you from Lesson 6, but the margin
and padding styles were removed because these styles made sense in the context of that
lesson, but not in the new layout. You can add a style to these elements.

Free download pdf