Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS linking a logo to the homepage… Re: linking a logo to the homepage…

#82456
TheDoc
Member

You didn’t close your logo div. Your HTML is wrong as well.

Remove this:

And add this:

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;
}