difference in table rendering

Dayne Miller daynem at starwave.com
Wed Apr 8 17:21:10 PDT 1998


I think the problem lies in that you don't have two tables, you actually
have table rows (TR) separated by a standalone BR statement. To the best
of my knowledge, having tabular content *not* contained within the
context of a row is "undefined" by any spec.

You have a couple of options. (1) is to encapsulate the BR in a TR, and
(2) is to actually have two tables. Examples follow; note that the
cloding </TR> and </TD> tags aren't actually required by the spec
anymore, but I'm not sure how OW deals with that offhand:

Example (1):

<TABLE>
	<TR>
		<TD></TD>
	</TR>

	<TR>
		<TD>	<!-- not entirely sure if this TD is needed --> 
		<BR>	<!-- the problematic code, now in a TR in a
single table -->
		</TD>
	</TR>

	<TR>
		<TD></TD>
	</TR>
</TABLE>

Example (2):

<TABLE>
	<TR>
		<TD></TD>
	</TR>
</TABLE>

<BR>	<!-- the problematic code, now outside any tables -->

<TABLE>
	<TR>
		<TD></TD>
	</TR>
</TABLE>

Hope that helps!

-Dayne Miller
daynem at starwave.com

> -----Original Message-----
> From:	Timothy J Luoma [SMTP:luomat+Lists/NeXT/OmniWeb at luomat.peak.org]
> Sent:	Wednesday, April 08, 1998 4:11 PM
> To:	Multiple recipients of list
> Subject:	difference in table rendering
> 
> 
> I'm working on a page http://www.peak.org/~luomat/apps/ and noticing  
> something weird... I'm not sure if it is my mistake (HTML) or OW
> 
> I have 2 tables.... If I put a <BR> in between them they get spaced
> FAR  
> apart (like what I would expect with 2 or 3 <BR>) and if I don't then
> they  
> are right next to each other....
> 
> I've copied the table code that I use, meaning I don't really know
> what I'm  
> doing, so it could be an HTML error but I'm using the same thing for
> the rest  
> of the page....
> 
> Here's the code in case anyone can spot it better than me...
> 
> 
> <TR><TD COLSPAN=1><table width="80%" units="pixels"><tr
> VALIGN="TOP"><td>
> <img 	alt='Stone Design icon'
> 	src='images/Stone_Design.gif'
> 	border=0 width=91 height=72>
> 
> </td> <td align=left>
> 
> <BR>
> <A HREF='http://www.stone.com/'>Stone Design's</A> Create, DataPhile,
> 
> 3DReality, and CheckSum are well-known commercial programs.
> 
> </TD></tr></table></TD></TR>
> 
> <BR>    <!-- THIS IS THE PROBLEMATIC LINE -->
> 
> <TR><TD COLSPAN=1><table width="80%" units="pixels"><tr
> VALIGN="TOP"><td>
> <img 	alt='WriteUp icon'
> 	src='images/WriteUp.gif'
> 	border=0 width=48 height=48>
> 
> <img 	alt='PasteUp icon'
> 	src='images/PasteUp.gif'
> 	border=0 width=48 height=48>
> 
> </td> <td align=left>
> 
> <BR>
> AFS has a supported word processor called
> <A HREF='/next/demos/editors/WriteUp/'>WriteUp</A> and a graphics
> program called 
>  <A HREF='/next/demos/graphics/PasteUp/'>PasteUp</A>
> </TD></tr></table></TD></TR>


More information about the OmniWeb-l mailing list