|
Posted by Stephen Kay on 04/05/06 07:44
in article dPGdnUa6956SjK7Z4p2dnA@comcast.com, Jerry Stuckle at
jstucklex@attglobal.net wrote on 4/4/06 9:36 PM:
>> I see. Yes, now that I think about it, you could do it that way too. You
>> basically are creating a template out of the two pieces of the header and
>> the footer, and chopping them in half, and the content area (which is on the
>> main page) ends up in the middle, say inside a table cell.
>>
>> That would be a good way for a site you are writing from scratch.
>>
>
> Yep, except I don't use tables for content. I use tables for tables :-).
Too bad you're missing out on all the other cool things they can do, then.
;-P
It would be impossible to format a typical php-based forum, in any sort of
decent looking way, for example, without tables holding the different
content pieces.
BTW, if you wanted to include a navbar in a thin column down the side of the
page, and the content next to it, how would *you* do it?
> No, they don't *have* to end in .php. That was an example. For the ones
> which
> don't need php code, I can use SSI to include the header and footer.
But that has its own problems - then they can end in .shtml, or you can
start doing all sorts of Apache tricks and chmod +x -ing the files, and it
again turns into a bunch of additional work, on the hundreds of files in a
bunch of nested folders. Much easier to just do what I'm doing. But if I was
going to write it from scratch, then I would choose some other way.
--
Stephen Kay
Karma-Lab sk@karma-lab.NOSPAM.com
^^^^^^^
[Back to original message]
|