Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 17th, 2008, 02:24 AM
Registered User
 
Join Date: Mar 2008
Location: , , .
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.
  #2 (permalink)  
Old March 18th, 2008, 10:47 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
  #3 (permalink)  
Old March 18th, 2008, 11:37 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
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!

  #4 (permalink)  
Old March 24th, 2008, 10:06 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.