[thelist] CF: Building a <body> tag.

Bill Lovett bill at ilovett.com
Thu Feb 14 13:36:00 CST 2002

On Thu, Feb 14, 2002 at 12:51:43PM -0500, Frank wrote:

> General ideas to stimulate creative approaches just as gladly
> accepted as pat solutions.

Maybe it's just me, but chopping up a page according to
header/content/footer has usually a been a hassle. Particularly when
you're dealing with an intricate layout-- somehow the pages that cross
my path always have a <table> and <td> tag in the header, but
everything else in another file. And that's just unholy.
Or maybe you end up having your left nav in the header file, which
to me is entirely unintuitive.

I've had better luck mapping include files to particular objects on
the page-- a leftnav include for the leftnav, a footer include for the
footer, et cetera. That way you're still left with a full html
structure in your primary file. Maybe you could have an include file
for everything in the <head> section, and use a window.onload=foo
statement in there rather than putting your onload function in the


More information about the thelist mailing list