Sunday, September 16, 2007

protocol css


#container a.external,#container a[href ^="http://"],#container a[href ^="gopher://"] {
background: url(external.png) center right no-repeat;
padding-right: 13px;
}

#container a[href ^="https://"],.link-https {
background: url(lock_icon.gif) center right no-repeat;
padding-right: 16px;
}

#container a[href ^="mailto:"],.link-mailto {
background: url(mail_icon.gif) center right no-repeat;
padding-right: 18px;
}

#container a[href ^="news://"] {
background: url(news_icon.png) center right no-repeat;
padding-right: 18px;
}

#container a[href ^="ftp://"],.link-ftp {
background: url(file_icon.gif) center right no-repeat;
padding-right: 18px;
}

#container a[href ^="irc://"],.link-irc {
background: url(discussionitem_icon.gif) center right no-repeat;
padding-right: 18px;
}

No comments :