Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

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

"Agos" <agostino.gube@fastwebnet.it> wrote in message

news:fB17i.11119$nT2.6072@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

-----------------------------------------------Reply-----------------------------------------------

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 espaol : http://asp.net.do/foros/
======================================

"Agos" <agostino.gube@fastwebnet.it> wrote in message

news:fB17i.11119$nT2.6072@tornado.fastwebnet.it...

Thank you very much! :-)
It doesn't complain now.

Agos

"Mark Rae" <m@markNOSPAMrae.net> ha scritto nel messaggio
news:eRiBIBkoHHA.4212@TK2MSFTNGP04.phx.gbl...

OK, Thanks

Agos

"Juan T. Llibre" <nomailrepl@nowhere.com> ha scritto nel messaggio
news:ucxvGDkoHHA.4516@TK2MSFTNGP05.phx.gbl...

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc