By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Attribute 'clear' outdated

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.