PC Review


Reply
Thread Tools Rate Thread

Attribute 'clear' outdated

 
 
Agos
Guest
Posts: n/a
 
      29th May 2007
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


 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      29th May 2007
"Agos" <(E-Mail Removed)> wrote in message
news:fB17i.11119$(E-Mail Removed)...

> 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 With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      29th May 2007
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" <(E-Mail Removed)> wrote in message
news:fB17i.11119$(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Agos
Guest
Posts: n/a
 
      29th May 2007
Thank you very much! :-)
It doesn't complain now.

Agos


"Mark Rae" <(E-Mail Removed)> ha scritto nel messaggio
news:(E-Mail Removed)...
> "Agos" <(E-Mail Removed)> wrote in message
> news:fB17i.11119$(E-Mail Removed)...
>
>> 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 With Quote
 
Agos
Guest
Posts: n/a
 
      29th May 2007
OK, Thanks

Agos


"Juan T. Llibre" <(E-Mail Removed)> ha scritto nel messaggio
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:fB17i.11119$(E-Mail Removed)...
>> 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
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attribute 'align' is considered outdated. A newer construct is recommended. Mark Rae Microsoft ASP .NET 2 11th Jul 2006 12:07 PM
how to clear the read-only attribute in disk volume? Rambo Microsoft Windows 2000 1 17th Sep 2004 03:35 PM
Can't clear read-only attribute on anything in XP-Professional G.L. Cross Windows XP General 5 12th Aug 2004 03:15 PM
Clear 'Read Only' Attribute - 1kb :-) jo Freeware 12 9th Jun 2004 04:25 AM
How to clear MANAGER attribute using LDIFDE =?Utf-8?B?QnJ1Y2UgZGUgRnJlaXRhcw==?= Microsoft Windows 2000 Active Directory 3 7th Feb 2004 08:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:37 PM.