Home › Forums › CSS › linking a logo to the homepage… › Re: linking a logo to the homepage…
June 27, 2011 at 2:31 pm
#82456
TheDoc
Member
You didn’t close your logo div. Your HTML is wrong as well.
Remove this:
And add this:
Corri and Joel
Then in your CSS file, remove this:
#logo h1 {
text-indent: -99999px;
}
#logo img {
margin-top: -35px
}
And add this:
#logo {
display: block;
width: 200px; /* Put width of image */
height: 200px; /* Put height of image */
background: url('image/path.png'); /* PUT THE PATH TO YOUR IMAGE HERE */
text-indent: -9999px;
}