phipm1
1
I currently have an external link icon put after each link created. I do not want an external link icon on Google links
/* CSS Code */
a[href^=“http:”]
{
display:inline-block;
padding-right:14px;
background:transparent url(="extlink.gif) no-repeat 100% 0;
padding: 0 20px 0 0
}
a[href^=“http:”] :hover:after { content: " > " attr (title);
a[href*=“google”]{
background-image:none;
}
a[href*=“google”] :hover:after { content: " "; }
I have also tried
a[href*=“http://google”]{
this doesn’t work either.
Anyone have any ideas?
PaulOB
2
Something like this works for me:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
a[href^="http:"] {
display:inline-block;
padding-right:14px;
background:red url(extlink.gif) no-repeat 100% 0;
padding: 0 20px 0 0;
}
a[href*="google"] {
background:blue;
}
</style>
</head>
<body>
<p><a href="http://www.yahoo.com">Yahoo</a></p>
<p><a href="http://www.google.com">Google</a></p>
</body>
</html>