CSS stands for Cascading Style Sheets and defines how HTML elements will be displayed. A style sheet can be made up of various items, referred to as Style Sheet Elements.
Disclaimer: Style Sheets are supported by both Netscape 4+ and Internet Explorer 4+. If a visitor is using an older version, they may not see your site as intended.
Style Sheets can save you a lot of work as they contain items such as the font tag and color attributes. Style Sheets are normally saved in external files with the .css extension. This enables you to change the appearance and layout of all the pages on your site, just by editing a single CSS document.
Style sheets can also be used inline within your HTML page's head section.
Style Sheet Cascading Order
Generally speaking, we can say that all the style will cascade by the following rules: Inline Style (inside HTML element) Internal Style Sheet (inside the <head> tag) External Style Sheet Browser Default
This means that an inline style (inside an HTML element) has the highest priority, overriding all styles listed inside the <head> tag, in an external style sheet, and in a browser (default setting).
User Comments
Understanding CSS
|
|
There are no user comments for this topic.
|
|
|
|