View Single Post
Old Feb 21st, 2005, 4:51 PM   #3
Lance
Programmer
 
Lance's Avatar
 
Join Date: Oct 2004
Location: Chicago, IL USA
Posts: 74
Rep Power: 5 Lance is on a distinguished road
Send a message via AIM to Lance
Now if you wanted to be uber-efficient, you'd code it this way:

body {
   background: #e7d693;
}
a:visited,
a:link,
a:hover, /* not necessary since hover is undefined by default */
a:active {
   color: green;
}

The less code you write, the less characters are being transfered to the user agent. That way, the browser does more work rendering and reading CSS (slightly more) and your server sends less data.

Just a random post, really. Just felt like improving your immense amount of {color: green}. :p
__________________
/* LANCE */
C++;  /* this makes C bigger but returns the old value */
char *site = "slackwise.net",
     *home = "lance.slackwise.net",
     *pics = "flickr.com/photos/slackwise";
Lance is offline   Reply With Quote