Home | Web Design Tutorials | Free Graphics | Newsletter | Products | Specials | SEO | Sound Effects | Member Perks | Member Login |
HTML Help: Comment Out JavaScript
I understand what the style sheet part of cascading style sheets refers too, but I don't understand where the "cascading" bit comes into play. Why are style sheets cascading? What does that mean?
Sometimes people create pages with conflicting code. This
happens with CSS as well as HTML. The "cascading" part refers to
how a browser determines which style rule to follow in the event of
conflicting styles.
For example, you may have a linked style sheet coded to display all <h1> tags in red text. On your page, you may have coded an <h1> tag to be displayed in blue text. A browser needs a way to determine which of the conflicting rules takes precedence. Thus, cascading styles is the conflict resolution mechanism. That simply means that there is a hierarchical order to determine which of the conflicting rules will be used to display the page element in conflict. The order of importance is:
This concludes the
HTML Help about the CSS Cascading Order. |
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!
Check out SEO for YOU now! Almost a NewsletterSubscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:Did you know...The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ] |
Home | Web Design Tutorials | Free Graphics | Newsletter | Products | Specials | SEO | Sound Effects
Sitemap | Member Perks | Member Login | About BoogieJack.com | Contact | Privacy Policy | Copyright Policy | Links
|