Re: Centering a Banner

by "Harold A. Driscoll" <harold(at)driscoll.chi.il.us>

 Date:  Tue, 04 Apr 2000 08:00:26 -0500
 To:  "Timothy G. Embler" <hwg(at)myrealbox.com>
 Cc:  <hwg-techniques(at)mail.hwg.org>, "Ben Ocean" <beno(at)cnw.com>
 References:  brightmail
  todo: View Thread, Original
At 06:44 04-04-00 , Timothy G. Embler wrote:
>After trying numerous ways of trying to fix this, I went with the most
>unorthodox way I could think of.  It worked though.  Here is what I did.
>
><table>
><A href="http://doitbest.com/shop/assoc/link.asp?id=6164" target=_top><IMG
>align=left alt="Shop Online at E&amp;E Lumber, a Do-It Best franchise!"
>border=0
>height=58 src="images/doitbest_2ban.gif" width=450></A>
></table>

Just what, pray tell, is this obscenity of badly-broken HTML supposed to do?

At the risk of belaboring the obvious, the only elements that can be
contained within a table are certain table-elements, such at TR.

What is being done in the code snippet is misusing HTML in such a way that
a certain browser (or at least a certain version on a certain platform)
just happens to handle its ~do the best we can in spite of the author~
error recovery the way you want it displayed. And maybe, just maybe, you'll
find another browser that (for the version and platform selected) does
things the same way. Perhaps, just maybe, future versions of that same
browser will do the same thing. Perhaps.

Better, by a long stretch, to actually look at the errant HTML, remove the
ALIGN=LEFT that is hardly contributing to the solution, and proceed from
there.

Safe computing, /Harold
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Harold A. Driscoll                 mailto:Harold(at)Driscoll.Chi.IL.US
#include <std/disclaimer>                 http://Driscoll.Chi.IL.US

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.