...Beauty, cleaning, DIY tips and more - free to join!
   Login   Contact us   Site map   Puzzle Club   Ask a question    Newsletter

How To Remove The Blue Image Border

Computing : Web Sites

When people first add links around images they may be surprised that the default is a blue border round the image, as virtually no sites leave this switched on these days it can be a surprise this is the default.

To counter this for one image simply add the attribute border=0 to the image tag.

Additionally, to switch off throughout using your CSS, simple add this:
img {
border-style: none;
}

and that will ensure that no images have a border throughout any document controlled by that CSS file. Easy!


Profile image!
By: Stephen

  More about HTML

  Reply to How To Remove The Blue Image Border

  Receive Our Newsletter

  Send to friend

HTML picture



Questions about HTML:

Ask question

More Articles:
How to appeal to everyone online
How to make the most of your computer (IV)
How to access the last item in a Perl array