Click to See Complete Forum and Search --> : Can i remove the square from my banner?
Elliot
02-03-2003, 10:12 PM
hi im making a banner for my website:
http://silentassassins.ionichost.com
the banner/link has a blue square around it...is tehre a way to remove that?
in your <img> tag add border=0
Stefan
02-04-2003, 03:20 AM
Or in your external stylesheet add this line to remove the browser or every single image on your site.
img, a img {border:0;}
zebedeus
02-04-2003, 09:31 PM
One addition, just a detail, but it can be a nuissance:
Don't use Returns within the anchor/image code
not
<a herf="....">
<img src=.........>
</a>
but
<a herf="...."><img src=.........></a>
If you don't it will (sometimes) show a corner of that border
Zebedeus
Elliot
02-04-2003, 09:37 PM
lol...returns dont do a thing....it would only do that if u had a line break...otherwise it doesnt read it like that
zebedeus
02-04-2003, 09:47 PM
never be too confident, Elliot.
I have truly seen this.
Plus other things that were totally illogical and
should not happen, but they do.
This is one of them.
HTML doesn't need returns at all.
So why not better be safe then sorry?
Zebedeus
Elliot
02-04-2003, 09:48 PM
sure....it doesnt do anything but let it go...its goin off topic
nkaisare
02-04-2003, 10:44 PM
You'll see a small "_" palced after the image. You will get that even if you do <a><img> </a>.