View Full Version : Image linking???
hypercrazymadness.co.uk
05-31-2005, 03:16 PM
I have used pictures as links but I cant get the line (indicating a hyperlink) around them to go.
Check out the links here (http://www.hypercrazymadness.co.uk/menu.html)
aldoggy100
05-31-2005, 03:25 PM
<a href="main.html"
target="main" border=0><img BORDER=0 width=103 src="button_home.jpg"></a>
try that outputting the img border = 0
hypercrazymadness.co.uk
05-31-2005, 03:33 PM
k ill try it - thanx in advance
hypercrazymadness.co.uk
05-31-2005, 03:34 PM
yeah that workd thnax alot
aldoggy100
05-31-2005, 04:51 PM
no problem.... kinda wierd how placement changes you make do a world of difference
mwinter
05-31-2005, 05:11 PM
kinda wierd how placement changes you make do a world of differenceNot really. Link (a) don't have border attributes. Image (img) elements do.
The modern, more efficient approach is to ditch the border attribute completely and use a single style sheet rule:
a img {
border-style: none;
}To the OP: remove the SGML comment delimiters (<!-- -->) from within the style element. They are not necessary either there, nor in script elements, and haven't been for around six years.
Mike
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.