> Why? Maybe because this is not valid html:
>
>     * no doctype,
>     * no charset,
>     * no <head></head>,
>     * <style></style> placed in the <body>

I thought about that, but didn't think that would be
it.  But after you suggested it I went back and fixed
all of that.  It didn't make a difference.  However, I
have figured out a way to fix the problem.  I changed
"position: relative" to "position: absolute" for img
tags and it started to work in IE but stopped working
in Firefox, so then I used an IE conditional comment,
and now it works right in both.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
Final//EN">

<html>
<head>
<style type="text/css">
td {
        width: 33.33%; height: 100px;
}

table {
        width: 700px;
}

img {
        width: 100%; height: 100%;
}
</style>

<!--[if IE]>
<style type="text/css">
img {
        width: 100%; height: 100%;
        position: absolute;
}
</style>
<![endif]-->

</head>
<body>
<center>
<table>
 <tr>
  <td>
    <img src="1.jpg"><br>
  </td>
  <td>
    <img src="2.jpg"><br>
  </td>
  <td>
    <img src="3.jpg"><br>
  </td>
 </tr>
 <tr>
  <td>
    <img src="4.jpg"><br>
  </td>
  <td>
    <img src="5.jpg"><br>
  </td>
  <td>
    <img src="6.jpg"><br>
  </td>
 </tr>
</table>
</center>
</body>
</html>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to