Monday, November 21, 2011

CSS Beginner

Tutorials

#1


#2


Response to Cssbasics.com Chapters 1-4


Although an intimidating topic, cssbasics.com helps explain utilization of CSS in simple terms. A CSS, or cascading style sheet, can be used internally or externally. Internal method styles one specific page, while external controls all pages and is easier to maintain and reduces file sizes. CSS syntax contains three parts, inheritance refers to the nesting of elements inside others, and how they ultimately aquire these elements properties. Combining selectors allows the user to combine headers, each displaying the exact same properties specified. Comment tags are used to explain certain decisions made within the coding process to help others who may view your file. CSS classes allow you to change one specific element within another, for example changing one words size and color while the rest of the sentence remains untouched. CSS IDs are similar to classes, but once an ID is used it cannot be reused. IDs are usually used to edit the layout elements of a page, while classes are used to alter the text. ID selectors begin with a "#" number sign, while classes begin with a "." period.

No comments:

Post a Comment