[Zope] table display problem

Philipp Strazny Philipp Strazny" <philipps@thegeogroup.com
Wed, 21 Nov 2001 09:03:44 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_005C_01C1726B.6C4A7290
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Being a newbie, I have difficulties getting Zope to display tables=20
the way I want to. I have the following defined as my=20
standard_html_header:

<html>
<head>
<title><dtml-var title_or_id></title>
</head>

<body leftmargin=3D"0" topmargin=3D"0" marginwidth=3D"0" =
marginheight=3D"0">

<table width=3D100% border=3D1 cellpadding=3D0 cellspacing=3D0>
   <tr>
<td colspan=3D2 bgcolor=3D"#6666CC" height=3D25>          =20
   <img src=3D"images/top_bar">
</td>
        <td>
        </td>
   </tr>
   <tr>
      <td valign=3D"top" width=3D140><img src=3D"images/logo" border=3D1 =

width=3D140 height=3D122></td>
      <td>
        There's some navigation here... =20
      </td>
   </tr>
</table>

The problem is the width of the cell holding the "logo": when I view=20
a standard HTML document w/ the same code directly in a browser=20
(IE6), the cell has the appropriate width (namely 140, the same as=20
the image). However, when viewed through Zope (but also IE6), the=20
cell takes up half of the table width.=20
Can anybody give me a hint why this might be happening?

Thanks,
Philipp




------=_NextPart_000_005C_01C1726B.6C4A7290
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Trebuchet MS" size=3D2>
<DIV><FONT face=3DArial size=3D2>Being a newbie, I have difficulties =
getting Zope to=20
display tables <BR>the way I want to. I have the following defined as my =

<BR>standard_html_header:<BR><BR>&lt;html&gt;<BR>&lt;head&gt;<BR>&lt;titl=
e&gt;&lt;dtml-var=20
title_or_id&gt;&lt;/title&gt;<BR>&lt;/head&gt;<BR><BR>&lt;body =
leftmargin=3D"0"=20
topmargin=3D"0" marginwidth=3D"0" =
marginheight=3D"0"&gt;<BR><BR>&lt;table width=3D100%=20
border=3D1 cellpadding=3D0 cellspacing=3D0&gt;<BR>&nbsp;&nbsp; =
&lt;tr&gt;<BR>&lt;td=20
colspan=3D2 bgcolor=3D"#6666CC"=20
height=3D25&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
<BR>&nbsp;&nbsp; &lt;img=20
src=3D"images/top_bar"&gt;<BR>&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
&lt;td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;/td&gt;<BR>&nbsp;&nbsp; &lt;/tr&gt;<BR>&nbsp;&nbsp;=20
&lt;tr&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td valign=3D"top"=20
width=3D140&gt;&lt;img src=3D"images/logo" border=3D1 <BR>width=3D140=20
height=3D122&gt;&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There's some =
navigation=20
here...&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/td&gt;<BR>&nbsp;&nbsp;=20
&lt;/tr&gt;<BR>&lt;/table&gt;<BR><BR>The problem is the width of the =
cell=20
holding the "logo": when I view <BR>a standard HTML document w/ the same =
code=20
directly in a browser <BR>(IE6), the cell has the appropriate width =
(namely 140,=20
the same as <BR>the image). However, when viewed through Zope (but also =
IE6),=20
the <BR>cell takes up half of the table width. <BR>Can anybody give me a =
hint=20
why this might be happening?<BR><BR><FONT=20
face=3D"Trebuchet MS">Thanks,</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Trebuchet =
MS">Philipp<BR><BR><BR></DIV></FONT></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_005C_01C1726B.6C4A7290--