1 Weights in StyleSheet Thu Oct 14, 2010 8:17 pm
Unknown Data
Registered Member
Weights in StyleSheet Learn CSS - part 4 |
The "weight" of a stylesheet! Normally can we find the "weight" of a stylesheet that depends on the power of it. If we fx have used a Inline style, will the power of that stylesheet overwrite a Internal stylesheet, because of the inlines "weight". A Internal stylesheet will also got a bigger "weight" than a External stylesheet. Here are a list of what that "beats" what. 1. Inline style 2. Internal stylesheet 3. External stylesheet 4. Browserens default stylesheet 5. Multible stylesheets If we build our page about the above, can we have multiable stylesheets. As an example could we have a External stylesheets as the global one, and then a Internal or Inline style as a special one on some HTML pages. Here could we illustrate an example, were we start with a External stylesheet (saved as "externalstylesheet.css") that looks like this:
Our first HTML document looks like this and refer only to our External stylesheet.
Notice that the title of the documents with blue dosen't change. That's because it's the External stylesheet that deiceds. That was a lot of things you learned here, and in the further lessons will your surely got some more info about the simple thing in CSS. |
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators. |