|
Posted by Jerry Stuckle on 04/05/06 15:53
Stephen Kay wrote:
> 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
>
Nope. I can do anything without tables.
> 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.
>
Not at all.
> 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?
>
>
CSS.
>
>
>>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.
>
>
Nope. They can end in html. A minor change to the httpd.conf file fixes that.
And since all .html files would use SSI, there's no extra overhead - they'd
all have to be parsed anyway. And no chmoding the files at all.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|