hyperlink

D

Don

I have a design that I created. It's in the form of a jpg. I want to use
it as a background. I'd also like to use some of the images on this jpg.
design as hyperlinks. So;
I've inserted it from the format/background/background picture.
But now I don't know how to make the images a "hotspot" so I can link a
file to it.
Can anyone help?
Thanks,
Don............
 
K

Kevin Spencer

You can't make hotspots on a background image. You need to insert the image
into the page as a regular image to do this.

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

I just flew in from Chicago with
a man with a wooden leg named Smith
who shot an elephant in my pajamas.
So I bit him.
 
D

Don

I see I can. However when I try that I can't get the picture to fit the
page correctly. The only way I've been able to get a picture to fit nicely
on the page is to use it as background. Otherwise I end up with scroll bars
on the side and bottom and the picture that I insert usually isn't big
enough.
I've got a lot to learn on this I'm sure.
Thanks for your help,
Don..........
 
K

Kevin Spencer

Hi Don,

Here's an example that uses a table and CSS to make the image fill the page.
The problem here is that since everything is in percentages, and hotspots
use absolute coordinates, unless the page is a fixed size, or the image is,
the coordinates of the hotspots may or may not be correct.

<body>

<table style="width: 100%; border-collapse: collapse; border-spacing: 0px;
height: 100%; position: absolute; top: 0px; right: 0px; bottom: 0px; left:
0px;" cellspacing="0" cellpadding="0">
<tr>
<td style="padding: 0px; margin: 0px; border-width: 0px">
<img alt="Curtain" src="images/curtain.jpg" width="124" height="800"
style="padding: 0px; margin: 0px; width: 100%; height: 100%" /></td>
</tr>
</table>

</body>

Bottom line, since hotspots use absolute coordinates, you image must be of a
fixed size.

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

I just flew in from Chicago with
a man with a wooden leg named Smith
who shot an elephant in my pajamas.
So I bit him.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top