473,246 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

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
2 2801
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: aragon | last post by:
Hi all, is it legal to use a fully-numeric string as "name" attribute for the <select> tag in the XHTML standard? E.g.: <form action="action.php" method="get"> <select name="12345"> <option...
5
by: Rolf Brauser | last post by:
Hi, I want to have a table with a border of 1px arround it but table="1" is more than a pixel because this 3d effect is attached. Values below are not accepted How can I get this border with...
3
by: ireneatngs | last post by:
Hi, I have example html below which contains a couple of hidden divs. However, some of the table borders within these hidden divs are actually displayed when they should not be. In my...
4
by: Manuel Faux | last post by:
Hello! I used the "File Upload - Validator" and the result is like the following: Line 13, column 204: there is no attribute "border" ....irefox!" title="Get Firefox!" border="0" /></a></p>...
9
by: Serg | last post by:
I have a form with a text input field Is it possible to specify NO border on that field? Obviosuly I tried border="0" but to no avail. Thanks ahead,
7
by: roN | last post by:
Hi, I have an image and I would like to draw a border around it, I tried: <p style="border:1px border-style:solid; border-color:#EEEEEE; background-color:#FFFFFF;"><img src="./images/header.jpg"...
11
by: Jasbird | last post by:
Has the name attribute deprecated? I ask this because ASP.NET 2 warns me against using it, says that it has been deprecated and doesn't use it (on the client) when creating a radio button list....
12
by: Amer Neely | last post by:
I'm trying to nail down a 3-column layout but there is a slight discrepancy in how IE 6 and Seamonkey renders a border. View my attempt at http://www.softouch.on.ca/scratch/3-columns.html The...
4
AmberJain
by: AmberJain | last post by:
Hello, I know a bit of HTML and CSS. I'm designing my personal website. I want to put an image on one of my pages such that it has 'border' around it and it should be right aligned. And I want my...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.