W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2003

Assigning property values question (possible Amay bug)

From: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
Date: Fri, 24 Oct 2003 11:10:08 +0200
Message-ID: <002901c39a0e$9f6c4b40$de78ca51@goofy>
To: <www-amaya@w3.org>
Hi,

The following html and css code:
    <p class="blue red">Hello</p>
    <p class="red blue">Hello</p>
    p.blue { color: blue; }
    p.red  { color: red; }
is not displayed in Amaya as in Mozilla or Internet Explorer.
Amaya displaies the first paragraph in red and the second one in blue.
Mozilla and IE display both paragraphs in red.

If the css rules order is changed:
     p.red  { color: red; }
     p.blue { color: blue; }
Amaya does not change colors, but Mozilla and IE display both 
paragraphs in blue.

Which order is most important? Class names order in html attribute or
class rules order in css file?

Best regards,
Barto
Received on Friday, 24 October 2003 05:13:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:28 UTC