-- A {text-decoration: none;} A:LINK {text-decoration: none; color: lightblue; font-weight: bold;} A:VISITED {text-decoration: none; color: white; font-weight: bold;} A:HOVER {text-decoration: underline; color: red; font-weight: bold;} --> img.X { border: solid 1px blue; } img.Y { border: solid 1px dimgray; }