Hyperlink is TOO Long for Image Hyperlink Field

J

judy

Hi!

I am a new user of Publisher for creating a small website for our Training
Department.

Currently, I have an HTML Code Fragment in one of my Publisher Web Pages
with a VERY long "mailto" line that will send an e-mail to an address with a
predefined e-mail title and text fields in the message body. All of this is
in HTML and works fine.

Instead of clicking hyperlinked text, however, I want the users to click a
"Sign Me Up" button that I have created. I have inserted the image and
copied/pasted the long mailto into the hyperlink field (in Image Properties)
and the line is truncated and cut off because there is a maximum text
allowance in that field.

How can I do this? Can I somehow link the image and my complete HTML code
fragment?

Thanks for your help in advance, I am very new at this.
judy
 
D

David Bartosik [MSFT MVP]

Currently, I have an HTML Code Fragment in one of my Publisher Web Pages
with a VERY long "mailto" line that will send an e-mail to an address with
a
predefined e-mail title and text fields in the message body. All of this
is
in HTML and works fine.


good, sounds like you coded it right.

Instead of clicking hyperlinked text, however, I want the users to click a
"Sign Me Up" button that I have created. I have inserted the image and
copied/pasted the long mailto into the hyperlink field (in Image
Properties)
and the line is truncated and cut off because there is a maximum text
allowance in that field.


oops, wrong, wrong, wrong. can't do that.

How can I do this? Can I somehow link the image and my complete HTML code
fragment?


you still have to use your custom html code snippet. you replace the text in
the link with the image tag - <img src="http://blahblahblah"/>
the string in the image tag is the url to the image you've uploaded to your
server. this is completely independent of Publisher.


David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
 
J

judy

It works! I am very unfamiliar with HTML, so it took some figuring out as to
where it should go in the long string. I had to do an img border = 0 because
I was getting a weird blue box on the outside but everything looks terrific
now.

Thanks for the helpful information!
judy

David Bartosik said:
Currently, I have an HTML Code Fragment in one of my Publisher Web Pages
with a VERY long "mailto" line that will send an e-mail to an address with
a
predefined e-mail title and text fields in the message body. All of this
is
in HTML and works fine.


good, sounds like you coded it right.

Instead of clicking hyperlinked text, however, I want the users to click a
"Sign Me Up" button that I have created. I have inserted the image and
copied/pasted the long mailto into the hyperlink field (in Image
Properties)
and the line is truncated and cut off because there is a maximum text
allowance in that field.


oops, wrong, wrong, wrong. can't do that.

How can I do this? Can I somehow link the image and my complete HTML code
fragment?


you still have to use your custom html code snippet. you replace the text in
the link with the image tag - <img src="http://blahblahblah"/>
the string in the image tag is the url to the image you've uploaded to your
server. this is completely independent of Publisher.


David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top