MaggsWeb:7

www.maggsweb.com

If you use images in links, then you (like the rest of the world) probably hate the blue outline that they are given by default by being inside an <a href tag, so you add border=0 to every <img tag.  Fine. It works.

But here is a far nicer, cleaner solution that will save yourself valuable characters.  Add it to the stylesheet!

No more:

<img src="..." alt="..." border="0" />

Add the following the the CSS and relax.

img { border:none; }

Write a Comment

Let me know what you think?