Why doesn't IE7 wrap the inline elements down to the next line, and what would be a suggested workaround (maybe floating instead)?
-------------------------------------------------------
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#container {width:300px;}
h2 {display:inline;padding:5px;}
</style>
<title>Title</title>
</head>
<body>
<div id="container">
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
<h2>Test</h2>
</div>
</body>
</html>
-------------------------------------------------------
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]