Hide text (to place logo) with text indent

Submitted by:Pitter Alderson

Date added:29 June, 2013

Category:CSS

Hiding text can be extremely useful to hide company logo.

Tags: hide text

Code Snippet:

h1 {
text-indent:-9999px;
margin:0 auto;
width:400px;
height:100px;
background:transparent url("images/logo.jpg") no-repeat scroll;
}
 
 

Comments