|
| The simple page below looks fine in Firefox2, with the image
respecting both the left and right padding just like the text above
it. In IE7, the text respects both the left and right padding, but
the image only respects the left padding and extends across into the
right cell. Any ideas for a work-around?
<html>
<head>
<title>padding test</title>
</head>
<body>
<table width="100%" border="1">
<tr>
<td style="padding-left:2em; padding-right:2em;">
<p>text text text text text text text text text text text text text
text text text text text text text text text text
text text text text text text text text text text text text text
text text text text text text text text text text text
text text text text text text text text text text text text text
text text text text text text text text text</p>
<img class="bar" src="http://www.microsoft.com/windows/templates/
Common/images/bg_middle_aurora.jpg" height="20" width="100%">
</td>
<td width="160"><p>Sidebar</p></td>
</tr>
</table>
</body>
</html>
|
|