473,434 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

hyperlink an area

Hi,
i have a page made up of images within a table, set as backgrounds.

in front of the different images on the page there is text.

How can i hyperlink the area relative to the size of the image, even if the text showing infront of the image, and the image is a background.

for example

its a square image, set as a background, which is colour and pattern.
there is text shown within this image.

- basically i want to know if its possible to hyperlink these background images.. including the text in the foreground.

any help would be great. thanks
Dec 21 '07 #1
1 2084
drhowarddrfine
7,435 Expert 4TB
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">

</style>
</head>
<body>
<table>
<tr>
<td style="background-image:url(1.png);height:100px;width:100px">
<a style="display:block;height:100px;width:100px" href="#">hello</a>
</td>
</tr>
</table>

</body>
</html>
[/html]
Dec 21 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: entoone | last post by:
The following outputs a filed for the users website, I'm looking for a way to hyperlink the output so if someone clicks on the link, it will open their site in new window. Also if the text that is...
5
by: Maria Joćo | last post by:
I have a table with one field that ia a hyperlink to a pdf file that opens a specific file. Since these files are very big, I would need to change the hyperlink path, so that I could send the...
2
by: Robson Carvalho Machado | last post by:
Dear friends, I'm dynamically creating a Hyperlink with spacer.gif as ImageURL that is an 1px transparent image only to determine link position, but as I create this link dynamically I could not...
5
by: smitacharya | last post by:
Hi, I am trying to convert the text on status bar into hyperlink. Is there a way to do so? Thank you in advance. -Smita
17
by: Chris Ianson | last post by:
Hi, I have this JavaScript, which I only want to occur if a user clicks on a hyperlink hotspot in a large image: <script type="text/javascript"> <!-- var answer = confirm ("This link is not...
2
by: Casey | last post by:
Hi! I'm making a webpage where it will list all the printers in their area, with the UNC path to the printer. It would be like: \\someserver\aprinter The only problem is, if I type that path...
5
by: Tim Walters | last post by:
My web page was put together by the Spanish yellow pages company (closely associated with -- but don't ask me how -- with the ISP Telefonica). I can access the page by going to the yellow pages...
2
by: pieandpeas | last post by:
Hi, i have the following text <td><span (some style stuff) ><a href="http://www.mysite.co.uk">We are a company in the UK that blah blah blah <br /> Our...
3
by: breakupemail | last post by:
Hello, on my website at http://www.breakupemail.com/ there is a horizontal navigation bar with 6 hyperlinks. Recently, I added a second navigation row below the first, with 2 links. Once this...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.