1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Attribute 'clear' vs. CSS 'clear' specificity</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint">
7 <meta name="flags" content="">
8 <meta name="assert" content="Attribute 'clear' has a specificity of zero and is overridden by CSS.">
9 <style type="text/css">
10 div div
11 {
12 background: blue;
13 float: left;
14 height: 32px;
15 width: 32px;
16 }
17 *
18 {
19 clear: none;
20 }
21 </style>
22 </head>
23 <body>
24 <p>Test passes if the "Filler Text" is to the right of the blue box.</p>
25 <div>
26 <div></div>
27 <br clear="all">
28 Filler Text
29 </div>
30 </body>
31 </html>