Image Replacement (No Extra Span)


/ Published in: CSS
Save to your folder(s)

CSS image replacement with no extra span needed.


Copy this code and paste it in your HTML
  1. #ex1 {
  2. padding-top: 133px;/*Size of the image*/
  3. width: 243px;
  4. background: url(ex1.gif) no-repeat;/*The image*/
  5. overflow: hidden;/*Hide the text*/
  6. height: 133px;
  7. voice-family: "\"}\"";/* WIN IE5 hack */
  8. voice-family: inherit;
  9. height: 0;
  10. }

URL: http://moronicbajebus.com/wordpress/wp-content/cssplay/image-replacement/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.