...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

  Reply to How To Remove The Blue Image Border

  Receive Our Newsletter

HTML picture



Questions about HTML:

Ask question

More Articles:
How to geo-target adverts
How to understand My Computer
How to syndicate your content