Border Attribute Deprecated?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fleemo17@comcast.net

    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

  • Mark Parnell

    #2
    Re: Border Attribute Deprecated?

    Previously in comp.infosystem s.www.authoring.html,
    <fleemo17@comca st.net> said:
    [color=blue]
    > The document contains the element: IMG with the deprecated attribute:
    > border."
    >
    > That seems odd to me.[/color]

    Why? Borders are a presentational matter, therefore they belong in CSS,
    not HTML.
    [color=blue]
    > Is there a CSS equivalent I should be using
    > instead?[/color]



    --
    Mark Parnell

    Comment

    • Lauri Raittila

      #3
      Re: Border Attribute Deprecated?

      in comp.infosystem s.www.authoring.html, fleemo17@comcas t.net wrote:[color=blue]
      > I ran a web page through a WAI validator,[/color]

      Which page, which "validator" ?
      [color=blue]
      > 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."[/color]

      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.
      [color=blue]
      > That seems odd to me.[/color]

      I think it is quite clear.
      [color=blue]
      > Is there a CSS equivalent[/color]

      Yes.
      [color=blue]
      > I should be using instead?[/color]

      No?

      --
      Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
      Utrecht, NL.
      Support me, buy Opera:

      Comment

      Working...