015.html   [plain text]


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>CSS1 Test Suite: 5.5.26 clear</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">

<LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
<STYLE type="text/css">
.one {clear: left;}
.two {clear: right;}
.three {clear: both;}
.four {clear: none;}
img { background-color: orange; }</STYLE>

</HEAD>
<BODY><TABLE border cellspacing="0" cellpadding="3" class="tabletest">
<TR>
<TD bgcolor="silver">&nbsp;</TD>
<TD><IMG SRC="../resources/vblank.gif" height="50" align="left" alt="[Image]">
<p >
This text should be flowing past a tall orange rectangle on the left side of the browser window.
</p>
<div style="background-color:green"><BR clear="all"></div>
<IMG SRC="../resources/vblank.gif" height="50" align="left" alt="[Image]">
 <div class="one">
This paragraph should appear below the tall orange rectangle above and to the left, and not flow past it. 
</div>

</TD></TR></TABLE></BODY>
</HTML>