|
|
|
CodeAve.com -
CSS -
Basics
|
|
|
CodeAve.com/CSS - Basics
|
Grouping
Repetitive commands within CSS can be grouped in order to cut back on the repetition of code sent to the client to be interpreted. This enables you to give several tags similar attributes without have to explicitly state each command over and over. In t (more)
ID Selector
CSS ID selectors enable you to define style commands that can be utilized by many
tags. When defining an ID selector the # symbol is placed before any
selector name (Not to be confused with contextual-selectors that begin with a
period). Wh (more)
Class Selector
CSS contextual selectors enable you to define style commands that can be utilized by many
tags. When defining an contextual selector a period is placed before any
selector name (Not to be confused with ID selectors that begin with #).
When (more)
CSS Comments
CSS comments can be made for a single line or multiple lines, but regardless of how you pass your comments they are always passed to the client PC and interpreted by the client browser. When commenting it’s best to be as brief as possible as you’re contin (more)
Style Sheet Defined within External/Linked Document
Style sheets can be imported, linked, be in-line, or be defined in the document header. Many sites will only use one style sheet and link it to all of their documents, thus facilitating easy changes across many pages. This example will utilize an external (more)
Style Sheet Defined within Document Header
Style sheets can be imported, linked, be in-line, or be defined in the document header. While most sites will only use one style sheet and link it to all of their documents, thus facilitating easy changes across many pages. There will be instances where y (more)
|
|
|
|
|