|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
Annoying link problem
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
4.0 GHz
|
Last week i decided to get a website for my call of duty UO clan.
So i got hosting etc and put a premade template on...and it sucked. So i had a go at making my own, it turned out to look pretty good IMO considering this is the first time ive tried to make one... But now ive run into the most annoying problem: I got the site up, but now when i try to link the Forum button to our clan forums, it puts a pink outline around the button Does anyone know why it would do this and/or how to fix it? Here is the site: http://unkclan.bravehost.com/ So yeah pls help, cant really go on till i get the links working... p.s If u know how to do it mabye give me ur MSN...easier than talkin over forums ![]()
Last edited by gill : 10-29-06 at 08:17 PM. |
|||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Bifford
![]() |
The default behaviour for an image that is also a link is to add a border around it. To counter this add border="0" to the image tag.
__________________
Helpful Posts (Hopefully )Overclocker's Calculator Photo Editing - B&W w/Color Accents
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Programmer
|
or you could do this:
Code:
<head><style type="text/css">
img.button{
border: 0;
}
</style>
</head>
<body>
<img class="button" src="(link to image)" alt="click here" />
</body>
__________________
Info: Static Electricity How To: Tweak windows to show file extensions How To: Get around Internet Explorer's rendering bugs (for web coders) ![]() "You're never late 'till you show up"
|
|||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||||
|
Bifford
![]() |
Another method that I have seen used is:
Quote:
__________________
Helpful Posts (Hopefully )Overclocker's Calculator Photo Editing - B&W w/Color Accents
|
||||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
Programmer
|
yeah thats correct, however it applies to all images in that page that have links associated with them
__________________
Info: Static Electricity How To: Tweak windows to show file extensions How To: Get around Internet Explorer's rendering bugs (for web coders) ![]() "You're never late 'till you show up"
|
|||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Bifford
![]() |
Quote:
![]()
__________________
Helpful Posts (Hopefully )Overclocker's Calculator Photo Editing - B&W w/Color Accents
|
||||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|