| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en
"><head> |
| 2 <title>CSS Test: float</title> |
| 3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> |
| 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
| 5 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" /> |
| 6 <link rel="match" href="floats-wrap-bfc-outside-001-ref.xht"/> |
| 7 <meta name="flags" content="" /> |
| 8 |
| 9 <style type="text/css"> |
| 10 #wrap {width:600px; border:1px solid;} |
| 11 .a {background:lime; color:#fff; width:80%;} |
| 12 .b {float:right; width:18%; background: cyan; color: #000; height:10em;} |
| 13 textarea {width: 100%; height:10em;} |
| 14 </style> |
| 15 |
| 16 </head> |
| 17 <body> |
| 18 <div id="wrap"> |
| 19 <div class="b"></div> |
| 20 <div class="a"><textarea></textarea></div> |
| 21 </div> |
| 22 |
| 23 |
| 24 </body></html> |
| OLD | NEW |