W3C home > Mailing lists > Public > www-style@w3.org > July 2000

CSS precedence

From: fyodor checkov <suffolkuniversity@hotmail.com>
Date: Tue, 25 Jul 2000 21:11:18 -0400 (EDT)
Message-ID: <20000726011045.61060.qmail@hotmail.com>
To: www-style@w3.org

I recently took an exam, and while I got the question correct I was 
wondering if the test "givers" have things backwards.

THE QUESTION
What is the order of precedence between the types of styles (from lowest to 
highest)?

Answer:

1) embedded, linked, inline
2) linked, inline, embedded
3) inline, embedded, linked
4) embedded, inline, linked

...my contention is that I thought order of precedence starting with lowest 
is Linked then embeded then inline. Not as they have it listed in the "third 
choice" of precedence being first Inline, embedded, linked.

Linked styles are overridden by embedded styles and embedded styles are 
overpowerd by inline styles.

So isn't the order of Precedence the opposite of the third choice that they 
have listed?

And of course hello and thanks!

Sorin
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Wednesday, 26 July 2000 05:11:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT