IE7 and IE8: Float clearing without adding empty elements
- by tk-421
Hello, I'm having a problem similar to the one described here (without a resolution):
http://stackoverflow.com/questions/2467745/ie7-float-and-clear-on-the-same-element
The following HTML renders as intended in Firefox but not in (both) IE7 and IE8:
<html>
<head>
<style>
ul {
list-style-type: none;
}
li {
clear: both;
…