The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Picture Link Help Needed...
MxV13
post Apr 20 2009, 06:46 PM
Post #1





Group: Members
Posts: 4
Joined: 20-April 09
Member No.: 8,387



I found this code on another HTML help site, (that had no forum), for making picture links.

< a href = " insert link url here " target = "_blank "> < insert picture code here " border = " 0 " alt = " insert title here " >

I took out all the spaces, filled in the information, and it worked! biggrin.gif

Just not the way I wanted it to.

When you click on it, it opens the new page in a completely separate window instead of the same one.

Is there any way I can make it open the page in the window I'm already in?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 20 2009, 07:06 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Sure. Remove the target="_blank". smile.gif
Also see: http://www.htmlhelp.com/faq/html/images.html#linked-image and http://htmlhelp.com/reference/html40/special/a.html .

You should use width and height attributes for images. It helps the browser and the page loads nicer since the browser can reserve space for the images.
http://htmlhelp.com/reference/html40/special/img.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
MxV13
post Apr 20 2009, 07:14 PM
Post #3





Group: Members
Posts: 4
Joined: 20-April 09
Member No.: 8,387



QUOTE(pandy @ Apr 20 2009, 08:06 PM) *

Sure. Remove the target="_blank". smile.gif
Also see: http://www.htmlhelp.com/faq/html/images.html#linked-image and ...


Thanks so much! wub.gif

I'll check those out.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 09:33 AM