add hyperlink

DM
Posted By
Domenick_Mariano
Feb 25, 2004
Views
266
Replies
2
Status
Closed
I am a PS novice. I have a psd which is basically a background image. I want to put a text layer over top of it. I want to include a hyperlink to the URL of my webpage in that text layer. When I save the document to html, I want the link to work. Can this be accomplished easily from within PS or is an HTML editor better suited? Thanks for any help.

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

CW
Colin_Walls
Feb 25, 2004
is an HTML editor better suited?

Yes. Right tool for the job.
JJ
Jay Jhabrix
Feb 26, 2004
Domenick…

You can’t embed a hyperlink in a text layer of a psd file and expect it to work…. the reasons are as follows…

When the image will be saved as a .gif or .jpg for the web it’ll be flattened and the text will cease to be text…

What you can do is is create an image slice of the link text and then in your html editor use that image as the link…. so the html will be like this:

<a href="www.xxxx.com"><img src="path/filename.ext" width="xx" height="xx"
border="x" /></a>

(The border attribute is needed for some browsers…. if you don’t want a border set it to "0")

Hope that helps…

Cheers…

JJ

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections