Page 1 of 1

Picture Links

Posted: Sun Nov 10, 2002 4:09 pm
by evilmonkey
Cheers Mates!

I have made a picture link, the problem is, it has a blue outline around it. I have tried everythig in Front Page, HTML, and Dreamweaver to get rid of it. I know how to change the colour of the line, but I need to get rid of it. Suggestions?

Cheers,
EvilMonkey Admin.

getting ride of blue underline

Posted: Sun Nov 10, 2002 5:37 pm
by phpScott
I you want to get rid of the blue underline in a link see this example

Code: Select all

<a style="text-decoration: none" href="somepage.html">somepage.html</a>
the style="text-decoration: none" is the important part of this it will get rid of the underline on the link.

Code: Select all

<body alink="#000000" link="#000000" vlink="#000000">
 <a style="text-decoration: none" href="index.htm">index</a>
will change the intial link the hover llink and the visited link colours all to black.
Hope this is what you where looking for.

phpScott

Posted: Sun Nov 10, 2002 6:50 pm
by EvilWalrus
to remove the border aroudna picture (via link), add the border=0 attribute to the tag, or in CSS use:

Code: Select all

img &#123;
    border: none;
&#125;

Posted: Sun Nov 10, 2002 8:56 pm
by evilmonkey
Hi.

There's a much easier way Ifound through HTML:

Code: Select all

<A HREF="whatever"><IMG SRC="whatever" border="0"></a>
To evilwalrus:

CHEERS TO EVIL!

Cheers.

Posted: Mon Nov 11, 2002 2:06 am
by twigletmac
If you use the CSS example that EvilWalrus posted then you won't have to remember to do border="0" on each image - it will be done automatically (isn't CSS great).

Mac

Posted: Mon Nov 11, 2002 12:03 pm
by evilmonkey
thanks MacCow :lol:

Thanks everyone else.