The ISA-Bus

One blog to bind them all.

Keep order in your style sheets

Just noticed again: the order in which you place the instructions in a style sheet is important, since they are parsed from top to bottom and newer rules override older ones. If you want to specify a “hover” color for links, you must put it after a:link and a:visited, or it won’t work.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: