[Zope] re: Variable length tables
garry saddington
garry@joydiv.fsnet.co.uk
Sat, 26 Jul 2003 18:20:19 +0100
On Friday 25 July 2003 21:23, Geir B=E6kholt wrote:
> On Sat, 26 Jul 2003 03:56:03 +0100 GMT (..4:56 where i live(GMT+2) )
>
> garry saddington asked the Zope mailinglist about the following:
> >>I've done some more testing and find that the pages display properly in
> >> Amaya
> >
> > but not in Mozilla or Konqueror.
> > regards
> > garry
>
> Amaya is merely a curiosity, and gives you no reference for real-life use.
> 99%+ percent of users are on IE, Opera, Mozilla.
>
> Validation is the way to check if your html table is ok. (
> http://validator.w3.org/ )
>
> You could also just read through the generated HTML, or even, as a
> last resort, post a bit of it to the list to try to find the fault.
Here is some of the offending code - am i doing it right?
<dtml-var standard_html_header>
<br>
<dtml-in CountDetentions>
<h4>There are currently <dtml-var count> outstanding detentions</h4>
</dtml-in><h4>Accounted for by:</h4>
<html>
<body>
<TABLE width=3D60% BORDER=3D1 Align=3Dleft BORDERCOLOR=3D"#000000" CELLPADD=
ING=3D0=20
CELLSPACING=3D0>
<TR VALIGN=3Dtop>
<TH WIDTH=3D17%>
<P>Name</P>
</TH>
<TH WIDTH=3D17%>
<P>Form</P>
</TH>
<TH WIDTH=3D17%>
<P>Detentions</P>
</TH>
<TH WIDTH=3D17%>
<P>Details</P>
</TH>
</TR>
<dtml-in DetentionsByPupil>
<TR VALIGN=3DTOP >
<TD WIDTH=3D25%>
<P><dtml-var name><BR>
</P>
</TD>
<TD WIDTH=3D25%>
<P align=3Dcenter><dtml-var class><BR>
</P>
</TD>
<TD WIDTH=3D25%>
<P align=3Dcenter><dtml-var count><BR>
</P>
</TD>
<TD WIDTH=3D5% align=3Dcenter>
<form action=3Dindividual>
<input type=3Dhidden name=3Ds value=3D<dtml-var studentid>>
<input type=3D"submit" value=3D"more detail" >
=09
</form>
</TD>
=09
</TR>
</dtml-in>
</TABLE> #everything below here displays at the side of the table when i wa=
nt=20
it below#
<br><br>
<a href=3DDetentions><font size=3D"+1">To detention choice=20
screen</font></a><br><br>
<a href=3DBugzilla><font size=3D"+1">Bugzilla</font></a><br>
</body>
</html>
<dtml-var standard_html_footer>
Thanks in advance
garry