> There is no such priority order. The cascading order is much more complex
> and almost always misunderstood
There is a priority order. to test this try this:
1) create a bsic page with this code:
<p style="color: red;">This should be red despite header style says green</p>
2) Now put the following code in header:
<style type="text/css">
p { color: green;}
</style>
Now let me know what is the color of your paragraph. You will notice that it
is red because inline style has taken priority over the header style.
You can now try the same exercise using external styles and you will find that
inline style always takes a priority. Similarly, header styles takes priority
over external style sheets,
hth
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/