Border patrol

dpogary

New Member
Messages
134
Reaction score
0
Points
0
hi all...i have a problem and i need help(its a simple one) i have a picture on my website...but when i linked the picture to a page it gave me a green border...i need to get rid of the green border...does anyone know the code to do that?:thefinger
 

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Yup!

here you go:

Code:
<a href="link here" target="NEW"><img src="source of image" [B]border="0"[/B] /></a>

The bit in bold is what you need to add to the code! and the target="NEW" part is only if you want the image link to open in a new window!

Hope this helps!

Regards,
Zenax
 
Last edited:

noerrorsfound

New Member
Messages
1,736
Reaction score
1
Points
0
Zenax said:
Yup!

here you go:

Code:
<a href="link here" target="NEW"><img src="source of image" [B]border="0"[/B] /></a>
The bit in bold is what you need to add to the code! and the target="NEW" part is only if you want the image link to open in a new window!

Hope this helps!

Regards,
Zenax
Actually that's target="_blank"

target="new"
would work, but let's say you had two pages that would open up in a new window. You click the first link and it opens in a new window, but then you open the second link and it opens in the window that link 1 opened in.

That is why the correct way is target="_blank"
 

dillbertdabomb

New Member
Messages
202
Reaction score
0
Points
0
in css do this
Code:
a img { 
border-top: 0px;
border-bottom: 0px;
border-right: 0px;
border-lef: 0px;
}
 
Top