467,915 Members | 1,780 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

Border Attribute Deprecated?

I ran a web page through a WAI validator, and it came back saying
"Failure - Document uses one or more deprecated elements or attributes.
The document contains the element: IMG with the deprecated attribute:
border."

That seems odd to me. Is there a CSS equivalent I should be using
instead?

-F

Jul 24 '05 #1
  • viewed: 2570
Share:
2 Replies
Previously in comp.infosystems.www.authoring.html,
<fl******@comcast.net> said:
The document contains the element: IMG with the deprecated attribute:
border."

That seems odd to me.
Why? Borders are a presentational matter, therefore they belong in CSS,
not HTML.
Is there a CSS equivalent I should be using
instead?


http://www.w3.org/TR/CSS2/box.html#border-properties

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 24 '05 #2
in comp.infosystems.www.authoring.html, fl******@comcast.net wrote:
I ran a web page through a WAI validator,
Which page, which "validator"?
and it came back saying
"Failure - Document uses one or more deprecated elements or attributes.
The document contains the element: IMG with the deprecated attribute:
border."
Most likely it should be saying: Warning, removing border from linked
images makes is harder to know it is link and hides information about it
being visited before.
That seems odd to me.
I think it is quite clear.
Is there a CSS equivalent
Yes.
I should be using instead?


No?

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Support me, buy Opera:
https://secure.bmtmicro.com/opera/bu...tml?AID=882173
Jul 24 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Rolf Brauser | last post: by
4 posts views Thread by Manuel Faux | last post: by
9 posts views Thread by Serg | last post: by
7 posts views Thread by roN | last post: by
11 posts views Thread by Jasbird | last post: by
12 posts views Thread by Amer Neely | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.