intro to CSS
Onto styling your handcrafted XHTML pages – we will work with CSS and the different ways on how you can apply them to your page
lesson content
- introduction to CSS syntax
- applying CSS styling
- CSS selectors
- universal settings and resetting styles
- styling header and paragraphs(CSS)
- inserting and presenting images
lesson notes
- CSS allow for easier control of page layout
- CSS can be applied in 3 different ways: inline, embedded or external
- every XHTML document requires a valid link to the CSS file (consider your file path!)
- using 1 external CSS to control the entire website will ensure that the file is loaded when the very first page is viewed, it will then already be in the browser’s memory and speed the loading of other pages up
- CSS rules consist of a selector and its properties, always use 1 property with its value per line and complete with the semcolon “;”
- you can target each HTML element with CSS and control its appearance
- avoid using any styling within the HTML code
download PDF
net talk
- alistapart.com Fear of Style Sheets
(by Jeffrey Zeldman) - friendlybit.comBeginner’s guide to CSS
- thenoodleincident.comDesign Rant
net references
- w3.orgCascading Style Sheets
- meyerweb.comthe master Eric Meyer’s test pages
- tizag.comintroduction to CSS
No Comments
No comments yet.
Sorry, the comment form is closed at this time.