473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

links without a highlight color

Sam
Hello all,

I have a page consisting of PHP code, html and with a small amount of
Javascript.

I'm trying to display a number of images like this:

document.write('<a href="'+LinkText[a]+'">');
document.write('<img src="'+Image[a]+'" align="left"></FONT></A>');

I have a number of these images on the page which make up an overall
picture.
While the image and links work, a border is shown around each picture.
This is the link highlight which changes color once you click the link
and visit the page it refers to.

How can I get rid of these borders?

I tried using <FONT COLOR="#91A5C1"> like this:

document.write('<a href="'+LinkText[a]+'"><FONT COLOR="#91A5C1">');

....and this works in Firefox as the link colour is the same as the
image background.

Although in IE, I can STILL see the border.

What am I doing wrong?!?!

Any advice appreciated.

Sam.

Feb 21 '06 #1
2 1578
> I'm trying to display a number of images like this:

document.write('<a href="'+LinkText[a]+'">');
document.write('<img src="'+Image[a]+'" align="left"></FONT></A>');

I have a number of these images on the page which make up an overall
picture.
While the image and links work, a border is shown around each picture.
This is the link highlight which changes color once you click the link
and visit the page it refers to.

How can I get rid of these borders?


use: <img src=.... border=0>

Or in your css-file:
img {
border: 0;
}

Rik
Feb 21 '06 #2
Sam

Van der Weij wrote:
use: <img src=.... border=0>

Or in your css-file:
img {
border: 0;
}

Rik


cool - I'll give this a try.

Thanks for the very quick feedback.

Sam

Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Simon Brunning | last post by:
QOTW: "Paraphrasing Occam, I would say 'don't multiply base classes without necessity'. ;)" - Michele Simionato "The world diversifies, the world congeals." - Raymond Hettinger (commenting on...
13
by: David Morgan | last post by:
Hello I have a little function to highlight text if it exists. Function Highlight(vFind, vSearch) Dim RegEx Set RegEx = New RegExp RegEx.Pattern = vFind RegEx.IgnoreCase = True Highlight =...
2
by: George Hester | last post by:
I have an applet which is a cube each face if which is a link. I have a floating <DIV> element which when the mouse is over the applet it pops up showing the text of all the links in the applet....
4
by: Charon | last post by:
While using the following to self link documents <a name="NAME"></a> <a href="#NAME"></a> Is there a way to dynamicaly bold, underline, or highlight the target <a name="NAME"></a> once the...
0
by: Kurumi | last post by:
Here's how CSS can warn you about links to sites matching a "blacklist" you define. This might be useful in weeding out bogus search results, etc. It uses substring attribute matching (which is...
0
by: Simon Brunning | last post by:
QOTW: "Discussing goto statements and Microsoft together is like mixing dynamite and gasoline." - DH '"Spaghetti" doesn't quite describe it. I've settled on "Lovecraftian": reading the code, you...
9
by: Devron Blatchford | last post by:
Hi there, Just wondering if I change the back and fore colour of a listview item when the mouse hovers over it? I want to overide the default windows colour. Can someone please tell me how to...
5
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be...
0
Merlin1857
by: Merlin1857 | last post by:
A thing I have been asked for on a number of occasions is the ability to highlight text after its been searched for in a record return page. The following does this perfectly. Use this function...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.