Robert Baer wrote:
Jim Moe wrote: Robert Baer wrote:
There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are
identical.
I do not know how to fix this problem; [...]
You are now using HTML 4.01 Strict, not Transitional. Some attributes
are no longer valid.
The validator is not without its faults. Just keep correcting the
errors
until there are no more.
I have gone as far as i can go; if the border attribute is not valid
in that line, then it is not valid in the next five lines.
Either border is valid in all of them, or in none of them - and it
once was.
If i remove the border statement from line 69, the validator then
complains about the exact same atribute in line 74 (the next time it
appears).
And i do *not* want a blue border!
Remove the "border" attributes from the affected elements. Use a
style-sheet to suppress the border.
Define a class on img elements:
img.link {border-style: none}
Use that class for all such elements that are within anchor (link)
elements.
Besides doing that, I also define a class on anchor elements:
a.image {text-decoration: none}
and use it on all anchors that contain images. This eliminates the
underline.
Note that, where an img element is contained in an anchor, I use the
"title" attribute for the anchor to indicate (via a tooltip) that there
really is a link hidden there. (Usually, I also have some visible text
for that.) I reserve the "title" attribute of the img element to
indicate the origin or copyright of the image.
--
David E. Ross
<http://www.rossde.com/>
Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>