<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>CSS Test: Avoid nested floats in previous siblings</title> | |
<link rel="author" title="WebKit" href="http://www.webkit.org/"> | |
<style type="text/css"> | |
#container | |
{ | |
background-color:green; | |
width: 400px; | |
height: 40px; | |
} | |
</style> | |
</head> | |
<body> | |
<p>There should be no red below.</p> | |
<div id="container"> | |
</div> | |
</body> | |
</html> |