Image Border

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Image Border

Post by fulmer »

I'm trying to get a border around an image

In Version 3, I had the following code to put a blue border around an image:
,"Title<img src='/path/to/my.jpg' style='border: 1 solid #366999'>","/path/to/my.asp",,"Status Title",1

How do I do the same kind of thing in Version 5?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I have a few images in my menu just before the text items and I tested and this coding gave a border in nn4.79, 6, 7, opera 6, 7 ie 5.0

Code: Select all

aI("text=<img src=usairgrd.gif border=1>&nbsp;&nbsp;Air National Guard;url=http://www.ang.af.mil/ target=_new;");

Ruth
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

well, that's almost exactly what I wanted to do... THANKS!!

The only think left is the color of the border. I'd like to be able to specify what color it is... any idea?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I don't know. Perhaps it needs some kind of script or something. You might post another topic asking if there is a way to set the color for the border in the

Code: Select all

<img src=whatever.xxx border=1> 
or if there is another way to do it. Good Luck

Ruth
Post Reply