Template Categories

templates categories Automobiles
templates categories Business
templates categories CSS Templates
templates categories E-Commerce
templates categories Education
templates categories Fashion
templates categories Greeting Cards
templates categories Hotels
templates categories Jewelry
templates categories kids
templates categories Models
templates categories Music - Films
templates categories Night Club
templates categories Real Estate
templates categories Restaurant
templates categories Software
templates categories Sports
templates categories Travel
templates categories Web-design
templates categories Wedding

Tutorial Categories

tutorial categories AJAX
tutorial categories CSS
tutorial categories Dreamweaver
tutorial categories Flash
tutorial categories FTP - File Transfer
tutorial categories HTML Emails
tutorial categories Javascript
tutorial categories Microsoft Excel
tutorial categories Microsoft Windows
tutorial categories Microsoft Word
tutorial categories MySql
tutorial categories Photoshop
tutorial categories Php
tutorial categories Windows Movie Maker
tutorial categories Xhtml / Html

CSS trick - for H1 tag

A very useful trick to hide the H1 text and replace it with image in CSS is to use the text indent method. Now the question is why would anyone want to use it when the sole purpose is to hide it. The answer is Search Engines.

H1 ( all heading tags ) tag holds lot of power as far as the search engine optimization is concerned. The above trick is frequently used for the logo image. Banner and logo being at the top of the webpage should always contain important and relevant information about your website. Search engines fancy these tags and match the content of the page with heading tags.

h1 {
height: 70px;
backround-image: URL("image.jpg"); /* logo image */
background-repeat: no-repeat;
text-indent: -9999px;
}

<h1> gateway2internet.com - for windows and web design tutorials</h1>



You can have a logo image with the following dimensions e.g - width: 220px and height: 70px.