HTML tables bug & workaround in OW3/os4.2/mach/intel

Timothy J Luoma public+Lists/NeXT/OmniWeb at fdt.net
Fri Jan 1 01:13:23 PST 1999


(sent to -l in case others want to make comments on this particular topic)


I attempted to use this:

<TABLE BORDER=0 CELLPADDING=5 ALIGN=center>

in order to center a table on the page (the entire table)

This is, AFAIK, legit HTML code.  Unfortunately the only browser I have to  
double check is LYNX.

It did center in Lynx.

I checked the OW3 Release Notes page and didn't see anything about this.



Then I saw this:

	"Some browsers (in particular, all versions of Netscape)
	do not honor the ALIGN attribute on a table. For these
	browsers, enclose the entire table in a CENTER or <DIV
	ALIGN=CENTER> tag."

http://www.math.uni-goettingen.de/hangleit/html/table/table.html


Well, <center> </center> didn't work, but <DIV... > did

Ironically, the site  
(http://www.math.uni-goettingen.de/hangleit/html/block/div.html) also said:

	"Instead of <DIV ALIGN=CENTER>, use CENTER. This element
	is more widely supported at the moment, even though HTML
	3.2 defines both as identical. "

Anyway, there should be 3 different ways to do this, but it seems that only  
one of them works.

I didn't even know of DIV before that site (which has the full 3.2 HTML spec)

TjL

ps - I also saw the DR2 screenshots -- who put the scrollbars on the wrong  
side ;-???





More information about the OmniWeb-l mailing list