Got inset boxes working in ie
authorAaron Bentley <aaron.bentley@utoronto.ca>
Sun, 4 Dec 2005 05:11:08 +0000 (00:11 -0500)
committerAaron Bentley <aaron.bentley@utoronto.ca>
Sun, 4 Dec 2005 05:11:08 +0000 (00:11 -0500)
beweb/beweb/static/css/style.css
beweb/beweb/templates/master.kid

index 58f695628917107c0638f06a0d03495ca02a77a5..03c2ca487ef293fa6d0e495867e0c5cb2f1e746c 100644 (file)
@@ -76,3 +76,8 @@ table.insetbox
   margin-top: 0.5em;
   margin-bottom: 0.5em;
 }
+.insetbox tr, .insetbox td
+{
+  margin: 0;
+  padding: 0;
+}
index 743634a36ae7b0efcc503795fe07f6728805a38c..f6f54b1f4d2c858261524df55d44ce015b8d4e6c 100644 (file)
     
     <div py:replace="item[:]"/>
 </body>
-<table py:match="item.tag=='{http://www.w3.org/1999/xhtml}insetbox'" cellspacing="0" cellpadding="0" class="insetbox">
-<tr><td><img src="/static/images/is-tl.png" /></td>
+<table py:match="item.tag=='{http://www.w3.org/1999/xhtml}insetbox'" cellspacing="0" cellpadding="0" border="0" class="insetbox">
+<tr height="19"><td background="/static/images/is-tl.png" width="19"/>
     <td background="/static/images/is-t.png" />
-    <td><img src="/static/images/is-tr.png"/></td>
+    <td background="/static/images/is-tr.png" width="11"></td>
 </tr>
 <tr>
     <td background="/static/images/is-l.png"/>
     <td py:content="item[:]"> Hello, this is some random text</td>
     <td background="/static/images/is-r.png"/>
 </tr>
-<tr>
-    <td><img src="/static/images/is-bl.png" /></td>
+<tr height="11">
+    <td background="/static/images/is-bl.png"/>
     <td background="/static/images/is-b.png" />
-    <td><img src="/static/images/is-br.png"/></td>
+    <td background="/static/images/is-br.png"/>
 </tr>
 </table>
 </html>