From: "cFA" <[EMAIL PROTECTED]>
> <br clear="all" />
>
> this is fine for the most part on transitional doc types but its not 
> when
> I'm going strict as its not valid.
>
> 1) has anyone else experienced this
> 2) what causes it

The clear attribute, along with many other tag attributes, has been 
deprecated. If you want to use a BR to clear a float, use this method:

<br class="clearit" />

Then this rule:

.clearit {clear: both;}

If you want the clearing element to have no layout impact, then this 
rule:

.clearit {
clear: both;
height: 0;
line-height: 0;
font-size: px; /*for IE*/
}

Al Sparber
PVII
http://www.projectseven.com

"Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday".


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to