Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 10-29-06   #1 (permalink)
4.0 GHz
 
gill's Avatar
 
intel nvidia

Join Date: Nov 2005
Location: Australia
Posts: 1,162

Rep: 79 gill is acknowledged by some
Unique Rep: 69
Folding Team Rank: 1022
Team Name: MHz Masters
Trader Rating: 0
Default Annoying link problem

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
__________________
E6550 - 3.5GHz - 24/7 - 1.28vcore - 500x7

Prime95 7 Hours 44 Mins stable - Proof

System: 500FSB! =D
CPU
Intel E6550 @ 3.5GHz (500x7) 1.28v
Motherboard
Gigabyte GA-P35-DS3 (LOVE IT)
Memory
G.Skill 2GB 800MHz@1000MHz 5-5-5-15
Graphics Card
Inno3D 8800GT 512MB 700/1750/1000
Hard Drive
120GB
Sound Card
Sound Blaster Audigy
Power Supply
OCZ StealthXStreme 600W
Case
CM 690
CPU cooling
Thermalright Ultra 120 eXtreme
GPU cooling
Stock
OS
Windows XP Home 32-bit
Monitor
LG L204WT 20.1" WS

Last edited by gill : 10-29-06 at 08:17 PM.
gill is offline I fold for Overclock.net   Reply With Quote
Old 10-30-06   #2 (permalink)
Bifford
 
BFRD's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Carrollton, TX
Posts: 4,342

FAQs Submitted: 8
Folding Team Rank: 27
Hardware Reviews: 2
Trader Rating: 11
Default

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

System: Main Rig
CPU
E6700 Conroe
Motherboard
Abit QuadGT
Memory
2GB G.Skill PC2 8000 (HZ)
Graphics Card
EVGA 8800GTX
Hard Drive
150 GB Raptor X / 300GB Storage
Sound Card
Audigy 2 ZS
Power Supply
PCP&C Silencer 750
Case
Sigma Shark
CPU cooling
Stock (for now)
GPU cooling
Stock
OS
Vista Ultimate
Monitor
Dual Samsung 204b
BFRD is offline I fold for Overclock.net Overclocked Account BFRD's Gallery   Reply With Quote
Old 11-04-06   #3 (permalink)
Programmer
 
sniperscope's Avatar
 
amd nvidia

Join Date: Apr 2006
Location: Kent (England)
Posts: 1,237

Rep: 89 sniperscope is acknowledged by some
Unique Rep: 77
FAQs Submitted: 3
Folding Team Rank: 2540
Trader Rating: 0
Default

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>
Note that the style code is located between the <head></head> tags and the image code is located between the <body></body> tags.

System: Bob
CPU
AMD Athlon 64 3800+
Motherboard
ASUS A8N- SLI Premium
Memory
2GB (2X1GB) Corsair XMS Pro LED TwinX DDR400
Graphics Card
XFX GeForce 7800GT Extreme Edition
Hard Drive
2x200GB Barracuda SATA RAID0 + 250Gb ATA
Sound Card
AC'97
Power Supply
Antec TruePower 550W
Case
Thermaltake Armour
CPU cooling
Stock
GPU cooling
Stock
OS
Windows Vista Home Premium x64
Monitor
Hanns G 19" widescreen HW191D
sniperscope is offline I fold for Overclock.net sniperscope's Gallery   Reply With Quote
Old 11-04-06   #4 (permalink)
Bifford
 
BFRD's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Carrollton, TX
Posts: 4,342

FAQs Submitted: 8
Folding Team Rank: 27
Hardware Reviews: 2
Trader Rating: 11
Default

Another method that I have seen used is:

Quote:
a img { border:0px; }
Because it uses contextual selectors no specific class is needed in the image tag.
__________________
Helpful Posts (Hopefully )
Overclocker's Calculator
Photo Editing - B&W w/Color Accents

System: Main Rig
CPU
E6700 Conroe
Motherboard
Abit QuadGT
Memory
2GB G.Skill PC2 8000 (HZ)
Graphics Card
EVGA 8800GTX
Hard Drive
150 GB Raptor X / 300GB Storage
Sound Card
Audigy 2 ZS
Power Supply
PCP&C Silencer 750
Case
Sigma Shark
CPU cooling
Stock (for now)
GPU cooling
Stock
OS
Vista Ultimate
Monitor
Dual Samsung 204b
BFRD is offline I fold for Overclock.net Overclocked Account BFRD's Gallery   Reply With Quote
Old 11-05-06   #5 (permalink)
Programmer
 
sniperscope's Avatar
 
amd nvidia

Join Date: Apr 2006
Location: Kent (England)
Posts: 1,237

Rep: 89 sniperscope is acknowledged by some
Unique Rep: 77
FAQs Submitted: 3
Folding Team Rank: 2540
Trader Rating: 0
Default

Quote:
Originally Posted by BFRD View Post
Another method that I have seen used is:

Quote:
a img { border:0px; }
Because it uses contextual selectors no specific class is needed in the image tag.
yeah thats correct, however it applies to all images in that page that have links associated with them

System: Bob
CPU
AMD Athlon 64 3800+
Motherboard
ASUS A8N- SLI Premium
Memory
2GB (2X1GB) Corsair XMS Pro LED TwinX DDR400
Graphics Card
XFX GeForce 7800GT Extreme Edition
Hard Drive
2x200GB Barracuda SATA RAID0 + 250Gb ATA
Sound Card
AC'97
Power Supply
Antec TruePower 550W
Case
Thermaltake Armour
CPU cooling
Stock
GPU cooling
Stock
OS
Windows Vista Home Premium x64
Monitor
Hanns G 19" widescreen HW191D
sniperscope is offline I fold for Overclock.net sniperscope's Gallery   Reply With Quote
Old 11-05-06   #6 (permalink)
Bifford
 
BFRD's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Carrollton, TX
Posts: 4,342

FAQs Submitted: 8
Folding Team Rank: 27
Hardware Reviews: 2
Trader Rating: 11
Default

Quote:
Originally Posted by sniperscope View Post
yeah thats correct, however it applies to all images in that page that have links associated with them
Correct, that's the point. I have been developing web pages for about 10yrs and have NEVER wanted a border around and image link. So in most cases, having it apply to all images is the desired effect.
__________________
Helpful Posts (Hopefully )
Overclocker's Calculator
Photo Editing - B&W w/Color Accents

System: Main Rig
CPU
E6700 Conroe
Motherboard
Abit QuadGT
Memory
2GB G.Skill PC2 8000 (HZ)
Graphics Card
EVGA 8800GTX
Hard Drive
150 GB Raptor X / 300GB Storage
Sound Card
Audigy 2 ZS
Power Supply
PCP&C Silencer 750
Case
Sigma Shark
CPU cooling
Stock (for now)
GPU cooling
Stock
OS
Vista Ultimate
Monitor
Dual Samsung 204b
BFRD is offline I fold for Overclock.net Overclocked Account BFRD's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 11:37 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.31809 seconds with 8 queries