473,385 Members | 2,162 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,385 software developers and data experts.

Attribute 'clear' outdated

Microsoft Visual Studio when I use this tag
<br clear="all" />
tells me:
Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'clear' is
considered outdated. A newer construct is recommended.

What should I use instead?

Tank you

Agos
May 29 '07 #1
4 3856
"Agos" <ag**************@fastwebnet.itwrote in message
news:fB******************@tornado.fastwebnet.it...
Microsoft Visual Studio when I use this tag
<br clear="all" />
tells me:
Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'clear' is
considered outdated. A newer construct is recommended.

What should I use instead?
<br style="clear:both;" />
--
http://www.markrae.net

May 29 '07 #2
The "clear" attribute is *deprecated*, not "outdated".
It will still work...until it's *obsolete*.

See :
http://www.w3.org/TR/html401/present/graphics.html

Search for "clear" in that document.

There's a couple of workarounds using CSS.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Agos" <ag**************@fastwebnet.itwrote in message
news:fB******************@tornado.fastwebnet.it...
Microsoft Visual Studio when I use this tag
<br clear="all" />
tells me:
Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'clear' is considered outdated. A newer
construct is recommended.

What should I use instead?

Tank you

Agos

May 29 '07 #3
Thank you very much! :-)
It doesn't complain now.

Agos
"Mark Rae" <ma**@markNOSPAMrae.netha scritto nel messaggio
news:eR**************@TK2MSFTNGP04.phx.gbl...
"Agos" <ag**************@fastwebnet.itwrote in message
news:fB******************@tornado.fastwebnet.it...
>Microsoft Visual Studio when I use this tag
<br clear="all" />
tells me:
Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'clear' is
considered outdated. A newer construct is recommended.

What should I use instead?

<br style="clear:both;" />
--
http://www.markrae.net

May 29 '07 #4
OK, Thanks

Agos
"Juan T. Llibre" <no***********@nowhere.comha scritto nel messaggio
news:uc**************@TK2MSFTNGP05.phx.gbl...
The "clear" attribute is *deprecated*, not "outdated".
It will still work...until it's *obsolete*.

See :
http://www.w3.org/TR/html401/present/graphics.html

Search for "clear" in that document.

There's a couple of workarounds using CSS.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Agos" <ag**************@fastwebnet.itwrote in message
news:fB******************@tornado.fastwebnet.it...
>Microsoft Visual Studio when I use this tag
<br clear="all" />
tells me:
Warning 1 Validation (XHTML 1.0 Transitional): Attribute 'clear' is
considered outdated. A newer construct is recommended.

What should I use instead?

Tank you

Agos


May 29 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Iain | last post by:
I want to create an XML configuration file which might look like <REGION Name="Europe" WingDing="Blue"> <COUNTRY Name="UK" WingDing="white"> <TOWN Name="London" WingDing="Orange" /> </COUNTRY>...
35
by: Markus Dreyer | last post by:
I suggested our Librarian for the University Library to buy Accelerated C++. Practical Programming by Example. by Andrew Koenig and Barbara E. Moo http://www.acceleratedcpp.com/ but she...
23
by: Carter Smith | last post by:
http://www.icarusindie.com/Literature/ebooks/ Rather than advocating wasting money on expensive books for beginners, here's my collection of ebooks that have been made freely available on-line...
14
by: Del Ferguson | last post by:
Group, New to this list. I just found out that FireFox does not display the img alt attribute the same way IE does. I use both browsers to verify that my pages are readable. Dumb me for not...
5
by: Russell Warren | last post by:
I just ran across a case which seems like an odd exception to either what I understand as the "normal" variable lookup scheme in an instance/object heirarchy, or to the rules regarding variable...
36
by: python | last post by:
I have new a list , when it hava large number of values, I wonna to delete all the values in it,how to do? And, if a list have 801 values, I want to get its values index from 300 to 400, could use...
18
by: Joe (MCAD) | last post by:
Hi all, I just wanted to hear other peoples opinion with regards to how/if outdated ASP.NET is. ASP.NET (and ASP.net 2.0) is based on framework from 2000. It was a great stride forward at that...
2
by: Radu | last post by:
Hi. I have been working at home on a web project (VSNET 2005 SP1). Now I have brought the project at work, and I suddenly have plenty of warnings like: Validation (XHTML 1.0 Transitional) -...
5
by: rote | last post by:
I have a webpart project i copied across and after setting up in VS 2005 all good. When i go to the design mode and try and autofornat my webpartzone to for example Simple or Professional. The i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.