View

css for web- and maillinks

  1. //work in IE7 IE8b2 FF2 FF3 SF3.1 OP
  2. a[href^=‘http://’] {
  3.     padding-right: 15px;
  4.     background: url(extern.gif) right no-repeat;
  5. }
  6. a[href^=‘http://www.OWNDOMAIN.com’],
  7. a[href^=‘http://OWNDOMAIN.com’] {
  8.     padding-right: 0;
  9.     background: none;
  10. }
  11. a[href^=‘mailto:’] {
  12.     padding-right: 15px;
  13.     background: url(mail.gif) right no-repeat;
  14. }
  15. a[href^=‘mailto:USER’] {
  16.     padding-right: 15px;
  17.     background: url(USERPIC.gif) right no-repeat;
  18. }

You may also like