Previous Message
Next Message

Mini-icons fby links dont validate.

Sent by Julia on 28 February 2005 15:03


Hello,
I am using some mini-icons next to my links on my wordpress blog, but  
unfortunately, they are the only thing that stops my stylesheet  
validating. It is the  ^=  (CSS3 starts-with selector) that is the  
problem, apparently. (I didnt write the code btw, merely inherited it from  
a WP style).
Is there a more valid way of coding these, or am I just stuck with using  
them or losing them?

Example:

a[href^="mailto:"] {
	background: transparent url(images/icons/email.gif) no-repeat 100% 50%;
	padding-right: 10px;
	white-space: nowrap;
}

..entry a[href^="http:"] {
	background: transparent url(images/icons/outside.gif) no-repeat 100% 50%;
	padding-right: 10px;
	white-space: nowrap;
}

thanks,

Julia

-- 
<><><><><><><><><><>
http://www.jewelswebgraphics.com/
for all your web design needs.....
<><><><><><><><><><>

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: