Brent Dax (brentdax) wrote,
Brent Dax
brentdax

  • Mood:
  • Music:

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!
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment