• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

A Love/Hate Relationship

I do whatever it takes to remember coding techniques. I’m not sure who thought of this one originally, but it is simple to remember: LoVe HAte. The capital letters represent the first letter in each of the pseudoclasses used to control hyperlink styles. For the cascade to work as one would normally expect, the order of these pseudoclasses is very important: a:link, a:visited, a:hover, a:active. You’ll find each one listed in the proper order in the Selector drop-down list when you’ve chosen Use CSS Selector in the New Style dialog box. In the correct order, one by one, you’ll define their rules. When you’re finally finished, you should have code similar to the following:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint