New Posts  All Forums:Forum Nav:

HTML: Links help

post #1 of 4
Thread Starter 
I'm making my first site for a group of friends in a band, therefore i am the uber noob of HTML'ers.

My site looks exactly as i want it to in Opera 9 and Firefox 2:

This is my site in Opera and Firefox



But in Internet Explorer it puts crappy purple borders around the images i have used for links:



does anybody know how to solve this issue?

thanks in advance
TudjBox.
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500k Asus P8Z68V Gen3 PRO Sapphire Radeon HD7970 Corsair Vengeance 1866 
Hard DriveHard DriveOptical DriveCooling
OCZ Vertex II Samsung F3 1TB Sony DVD-RW Thermalright Silver Arrow 
OSMonitorKeyboardPower
Windows 7 x64 iiyama ProLite 24" 16:9 Filco Ninja Majestouch-2 Corsair HX620 
CaseMouseMouse PadAudio
Antec P182 G5 SteelSeries Cambridge Audio DAC Magic 
  hide details  
Reply
TudjBox.
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500k Asus P8Z68V Gen3 PRO Sapphire Radeon HD7970 Corsair Vengeance 1866 
Hard DriveHard DriveOptical DriveCooling
OCZ Vertex II Samsung F3 1TB Sony DVD-RW Thermalright Silver Arrow 
OSMonitorKeyboardPower
Windows 7 x64 iiyama ProLite 24" 16:9 Filco Ninja Majestouch-2 Corsair HX620 
CaseMouseMouse PadAudio
Antec P182 G5 SteelSeries Cambridge Audio DAC Magic 
  hide details  
Reply
post #2 of 4
you need to add border="0" to the boxes
My 2013 System
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6 6100 Black Edition 6 Core 3.3Ghz Socke... Gigabyte 970A-DS3 Sapphire HD 7850 OC Edition 2GB Dual DVI HDMI D... Crucial 4GB (2x2GB) DDR3 1600Mhz Ballistix Tact... 
Hard DriveOSMonitorKeyboard
WD 1TB 3.5" SATA-III Caviar Green Internal Hard... Windows 7 Ultimate 32bit Philips E-line 247E4LHSB LED LCD 23.6" HDMI Mon... Logitech 
PowerCaseMouseMouse Pad
Antec 520W High Current Gamer PSU CiT Vantage Midi Mesh Gaming Case with HD Audio... Logitech MX518 volkswagen golf gti30 
  hide details  
Reply
My 2013 System
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-6 6100 Black Edition 6 Core 3.3Ghz Socke... Gigabyte 970A-DS3 Sapphire HD 7850 OC Edition 2GB Dual DVI HDMI D... Crucial 4GB (2x2GB) DDR3 1600Mhz Ballistix Tact... 
Hard DriveOSMonitorKeyboard
WD 1TB 3.5" SATA-III Caviar Green Internal Hard... Windows 7 Ultimate 32bit Philips E-line 247E4LHSB LED LCD 23.6" HDMI Mon... Logitech 
PowerCaseMouseMouse Pad
Antec 520W High Current Gamer PSU CiT Vantage Midi Mesh Gaming Case with HD Audio... Logitech MX518 volkswagen golf gti30 
  hide details  
Reply
post #3 of 4
Thread Starter 
Quote:
Originally Posted by jaslew View Post
you need to add border="0" to the boxes
thanks

rep + to you
TudjBox.
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500k Asus P8Z68V Gen3 PRO Sapphire Radeon HD7970 Corsair Vengeance 1866 
Hard DriveHard DriveOptical DriveCooling
OCZ Vertex II Samsung F3 1TB Sony DVD-RW Thermalright Silver Arrow 
OSMonitorKeyboardPower
Windows 7 x64 iiyama ProLite 24" 16:9 Filco Ninja Majestouch-2 Corsair HX620 
CaseMouseMouse PadAudio
Antec P182 G5 SteelSeries Cambridge Audio DAC Magic 
  hide details  
Reply
TudjBox.
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500k Asus P8Z68V Gen3 PRO Sapphire Radeon HD7970 Corsair Vengeance 1866 
Hard DriveHard DriveOptical DriveCooling
OCZ Vertex II Samsung F3 1TB Sony DVD-RW Thermalright Silver Arrow 
OSMonitorKeyboardPower
Windows 7 x64 iiyama ProLite 24" 16:9 Filco Ninja Majestouch-2 Corsair HX620 
CaseMouseMouse PadAudio
Antec P182 G5 SteelSeries Cambridge Audio DAC Magic 
  hide details  
Reply
post #4 of 4
A much better fix for this would be to use CSS. That way you don't have to put that in every box, it will be automatic.

In the head of each page, simply add this:
Code:

<style type="text/css">
  a img{border:0;}
</style> 
or even better, simply add this to every page:
Code:

<link rel="Stylesheet" type="text/css" href="style.css" /> 

and make a file names style.css that contains this:
Code:

a img{border:0;} 

and you are set.

The latter one is better because anything you change in that single file will change every page you have linking to it - extremely convenient!

Read more about CSS here: http://www.w3schools.com/css/default.asp

You will want to learn CSS asap to make your html'ing much easier!!!
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding