Turning a background image into a clickable link

Now all we need to do is hide the text. This can be done using “text-indent” and indenting the text completely off the screen like this:


#xavisys-logo {
background-image:url(/wp-content/uploads/2009/11/email_logo.gif);
display:block;
height:58px;
text-indent:-9999px;
width:200px;
}

Comments

Popular posts from this blog

How to Reset Root Password in Drupal 7 with phpMyAdmin

Drupal - Hiding field group and its Children