Let’s start with with HTML code. It needs to be as simple as possible, showing only the name of your site/logo enclosed within header tags and a link:
1 |
<h1><a href="http://CSSHOOK.COM">CSS HOOK</a></h1> |
Now once you have the HTML code in place, it’s simply a case of styling it with some straight forward CSS.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
h1 { text-decoration:none; border:0; width : 162px; height : 113px; margin : 0; padding : 0; background : url(/images/logo.gif) no-repeat 0 0; } h1 a { display : block; height : 113px; text-indent : -9999px; } |















