.logo { background: #658AB4 url(./images/site_logo.jpg) no-repeat; border: 1px solid #000000; height: 140px; width: 970px; } Code (markup): i would like this picture to become a link, how do i do this?
You can´t link it in your stylesheet. You have to make it in html code. like this: <div class="logo"> <a href="whatever.html" img src="yourimagefolder/yourimage.jpg" alt="describe image"></a> </div> You can style the anchor behaviour in the logo class in your stylesheet.
that might not be W3C valid, try it this way instead: (It will look the same, just would be W3C valid, and would probably lessen the chance of it looking different in different browsers as well) <a class="logo" href="whatever.html"></a>