diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-12-04 00:11:08 -0500 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2005-12-04 00:11:08 -0500 |
commit | 3b95456c4c3ecb7e9f33d23b64eeea16595a859b (patch) | |
tree | 9591e079afab84acf1b2b8a5ff8110e066e28004 | |
parent | 3423a623cbfa40016685a0a6bd0132b81b837d97 (diff) | |
download | bugseverywhere-3b95456c4c3ecb7e9f33d23b64eeea16595a859b.tar.gz |
Got inset boxes working in ie
-rw-r--r-- | beweb/beweb/static/css/style.css | 5 | ||||
-rw-r--r-- | beweb/beweb/templates/master.kid | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/beweb/beweb/static/css/style.css b/beweb/beweb/static/css/style.css index 58f6956..03c2ca4 100644 --- a/beweb/beweb/static/css/style.css +++ b/beweb/beweb/static/css/style.css @@ -76,3 +76,8 @@ table.insetbox margin-top: 0.5em; margin-bottom: 0.5em; } +.insetbox tr, .insetbox td +{ + margin: 0; + padding: 0; +} diff --git a/beweb/beweb/templates/master.kid b/beweb/beweb/templates/master.kid index 743634a..f6f54b1 100644 --- a/beweb/beweb/templates/master.kid +++ b/beweb/beweb/templates/master.kid @@ -15,20 +15,20 @@ <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> |