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


By: Stephen

Share on Facebook: On Twitter: TwitterTweet this!

  Reply to How To Remove The Blue Image Border

  Receive Our Newsletter




Questions about HTML:

Ask question

More Articles:
How to Use the Desktop Cleanup Wizard in Windows XP
How to Use a Shortcut to Local Area Network Connection Information
How to get listed on Google quickly