/ Published in: CSS
URL: http://moronicbajebus.com/wordpress/wp-content/cssplay/image-replacement/
CSS image replacement with no extra span needed.
Expand |
Embed | Plain Text
#ex1 { padding-top: 133px;/*Size of the image*/ width: 243px; background: url(ex1.gif) no-repeat;/*The image*/ overflow: hidden;/*Hide the text*/ height: 133px; voice-family: "\"}\"";/* WIN IE5 hack */ voice-family: inherit; height: 0; }
Comments
Subscribe to comments
You need to login to post a comment.

Works like a charm! Goodbye stupid spans...