Photoshop Slice help!

Permabanned
Joined
22 Apr 2007
Posts
1,805
Hi all,

I have a GIF image that contains little icons that I've sliced up and added the right hyperlinks to them.

I save the image in imageready as HTML and on its own it works.

However, when I amend the site, I cant see the image anymore.

The thing is, that this image is part of a CSS declaration

Code:
background-image: url(images/nav.gif);

If I change this to read

Code:
background-image: url(images/nav.html);

That is when I no longer see the image.

Viewing the nav.html on its own though works a treat. How can I incorporate this back in to the site?

Thanks
 
An html file contains HTML, not an image, so it can't be a background-image in CSS.

Open up nav.html in Notepad/text-editor, and paste that code into the relevant place in the rest of your website's markup.
 
Back
Top Bottom