Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ExecCommand - 'createlink' code creating a border

Status
Not open for further replies.

wuz

Programmer
Jul 10, 2000
18
US
Does anyone have any experience using ExecCommand with the "createlink" function? I'm using an editing system that uses this to set a hyperlink on an image. But it's creating a border around the image.

The code that's being utilized is:

iView.document.execCommand('createlink');

It creates the link just fine, but it's not letting me set the border equal to zero. Perhaps there is a way to do this?

Thanks in advance!
Susan
 
Hi Susan,

set the border to "0" like:

<IMG border=&quot;0&quot;>

Hope this helps,
Erik <-- My sport: Boomerang throwing !!
!! Many Happy Returns !! -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top