• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Introducing CSS Concepts

Any browser that supports CSS starts out with a default set of styles based on built-in logic and whatever preferences the visitor has in effect. Any CSS rules found in Web pages then override, on a property-by-property basis, the default styles. If several styles apply to the same element, the overrides occur in the order in which the styles appear. This is part of the cascading idea in CSS.

Another aspect of cascading is that some styles inherit properties from other styles. This is usually based on the type of HTML tag involved. When you assign a CSS property to an entire numbered or unnumbered list, for example, any subordinate list items inherit the same properties. The rules of inheritance vary somewhat among browsers, but inheritance is still a very useful aspect of cascading.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint