CSS - Replacing the title text with a logo – text-indent – text-indent


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



Copy this code and paste it in your HTML
  1. h1 {
  2.    text-indent:-9999px;
  3.    margin:0 auto;
  4.    width:400px;
  5.    height:100px;
  6.    background:transparent url("images/logo.jpg") no-repeat scroll;
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.