Attribute 'clear' outdated

A

Agos

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
 
M

Mark Rae

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;" />
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top