• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Linking images to webpages in html.....

W

wufong

Guest
#1
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:
 

j79zlr

Glaanies script monkey
Political User
#2
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');
 
W

wufong

Guest
#3
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: :)
 

SPeedY_B

I may actually be insane.
#4
<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.
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,017
Latest member
bettyicrewsi