March 8th, 2005

firefox (getfirefox.com), open source (getfirefox.com), mozilla, firefox

Better living through programming, part VII

Graphical smilies annoy me, so I added this to my userContent.css file:
img[src^="http://forums.megatokyo.com/html/emoticons/"] {
    background-color: white;
    padding: 3px;
    width: 0;
    height: 0;
}
img[src^="http://forums.megatokyo.com/html/emoticons/"]:hover {
    background-color: transparent;
    padding: 0;
    width: auto;
    height: auto;
}
Effect: said instruments of evil are reduced to 6x6 white boxes until you hover over them.  Stick that in your pipe and smoke it, graphical smilies!
  • Current Music
    The Killers - Smile Like You Mean It