part of the answer to #2 is "...and if the user is clicking on the link, it's red."
firefox 2.0 works as described in appendix a. in ie 7, the :active link will continue to be red until another link is clicked.
-------
the answer to #3 is "the link is blue, regardless of its state, since the :link selector appears last and it has the same specificity as the other selectors."
this answer kept me up until 2:00 in the morning because it just didn't make any sense. by the same reasoning, shouldn't the answer to #2 be "the link is red, regardless of its state, since the :active selector appears last and it has the same specificity as the other selectors."
as it turns out the link was NOT "blue regardless". i was able to make it turn red (when it was the first link i clicked on) and purple (when i clicked on another link) in ie 7. in firefox 2.0, i was able to make it turn purple (after i clicked on it) and green (when i hovered over a purple link).
-------
sorry, there's nothing wrong with the answer to #4. i guess i was so frustrated at that point, i ended up lumping all 3 questions together.
thanks!
|