Linking images to webpages in html.....

W

wufong

Guest
How do I make this image link to a website page:

<HTML>
<HEAD>
<STYLE>
BODY {
font-family: Arial;
font-size: 10pt;
color: 000000;
margin-left: 100 px;
margin-top: 100 px;
background-position: top center;
background-repeat: no-repeat;
}
</STYLE>
</HEAD>
<BODY background="fwhite6.jpg">
</BODY>
</HTML>

Any help would be appreciated....I am scratching my head somewhat....:rolleyes:
 
what image?

btw, you can add that background pic to the style sheet so it doesn't have to be included with the <body> tag,

background-image : url ('fwhite6.jpg');
 
I feel I need explain further:

The html code in question is a background stationary for an e-mail, which is great. Now, I (being full of great ideas) thought that it would be good that if when reading the e-mail, you clicked on the image in question( fwhite6.jpg), it linked straight to the website. Which is a truly great idea - only problem is that I have absolutely not one iota of an idea of how to acheive this.......hence my previous post.......and despite sitting here farting around on my machine, thinking that I MUST be able to overcome such a simple problem, I have reduced myself feeling somewhat of an idiot, feeling (metaphorically) like a monkey f**cking a football.....!:confused: :eek: :)
 
<a href="http://something.com">
<img src="image.png" alt="image" />
</a>

would link an image. if you want to link the background image, I dont think that's possible.
 
No linking the background image seems perfectly nutty...
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back