Wrox Programmer Forums
|
BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0
This is the forum to discuss the Wrox book Beginning CSS: Cascading Style Sheets for Web Design, 2nd Edition by Richard York; ISBN: 9780470096970
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 17th, 2008, 02:24 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter 4 exercises #2-4

has anyone actually tested the pseudo-class rules out on page 127??

because i have and, depending on the question, i get MILDLY to VASTLY different results compared with the answers given in appendix a.

and i've looked in the errata link on this site, but this stuff isn't listed.

so, i need to know - is it me or is it the book?

btw, i'm using firefox 2.0 and ie 7.
 
Old March 18th, 2008, 10:47 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

What, specifically are you seeing that is different?

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old March 18th, 2008, 11:37 PM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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!

 
Old March 24th, 2008, 10:06 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Ah, it is you... you already know of these forums. ;)

Sorry, I haven't had much time to get back to your questions on this topic. I will look at this again later today.


Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - End of chapter exercises whizzkid1892 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 30th, 2008 12:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.