-- A {text-decoration: none;} A:LINK {text-decoration: none; color: yellow; font-weight: bold;} A:VISITED {text-decoration: none; color: lightgreen; font-weight: bold;} A:HOVER {text-decoration: underline; color: red; font-weight: bold;} --> img.x { border: solid 1px blue; } img.y { border: solid 1px pink; }