As the FAQ I linked to above explains the height: 1% hack gives 'layout' to IE6,
for IE 7 min-height: 0; is the preferred option.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
/* mac hide \*/
* html li {
height:1% !important;
}
li {
min-height:0
}
/* end hide */
.instant ul {
list-style: none
}
.instant ul li {
background:#fff;
border-bottom:1px #aaa solid;
margin-bottom:10px;
padding:2px;
font-size:14px;
}
.instant ul li.new {
background:#f8e5e5;
}
.instant ul li span.edit {
text-align:right;
float:right;
}
.instant ul li p {
clear:both;
}
.instant ul li img {
float:left;
margin:4px;
border:#696969 2px solid;
}
.instant ul li h4 {
font-size:24px;
border-bottom:1px #aaa solid;
margin:2px 12px 2px 6px;
}
</style>
</head>
<body>
<div class="instant">
<ul>
<li style="background: rgb(248, 229, 229) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"> <a href="/profiles/profile.aspx?user=gaypeers"> <img class="face" src="/thumbnail.aspx?section=PERSONALPICS&w=80&h=60&image=logo0.jpg"/></a>
<table border="0" style="float: right;">
<tbody>
<tr>
<td>9/18/2007 9:25:27 AM</td>
<td><input type="checkbox" value="1" name="delInboxItem107"/></td>
</tr>
</tbody>
</table>
<h4><a href="Read.aspx?ID=107&new=1">Another Test</a></h4>
<a href="Read.aspx?ID=107&new=1">Whahahaha loala..</a>
<div class="clear"/></div>
</li>
<li class="module_a"> <a href="/profiles/profile.aspx?user=gaypeers"> <img class="face" src="/thumbnail.aspx?section=PERSONALPICS&w=80&h=60&image=logo0.jpg"/></a>
<table border="0" style="float: right;">
<tbody>
<tr>
<td>9/18/2007 9:25:02 AM</td>
<td><input type="checkbox" value="1" name="delInboxItem106"/></td>
</tr>
</tbody>
</table>
<h4><a href="Read.aspx?ID=106">Test!</a></h4>
<a href="Read.aspx?ID=106">This is a test ..</a>
<div class="clear"/></div>
</li>
</ul>
</div>
</body>
</html>
I think your problem may be elsewhere as this looks the same now in Firefox, IE6 and IE7.
Bookmarks