stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Dec 22 16:00:24 UTC 2008
Madison Kelly wrote:
> I've been looking to update my HTML templating system to make it
> more flexible. I'd like to have a templating system that would let a
> skin redefine where various elements show up on the screen for any
> given page.
> Thus far, my system calls a file, reads a named section, substitutes
> in variables and returns the finished HTML data as a string variable
> that I print when I am ready. I was thinking about having a "layout"
> template definition that tells the program where and in what order to
> display the components.
> My question is how to go about doing this (from a high level view,
> not from a program language level).
> I want the page to still layout sanely should CSS/JS be disabled, so
> I want the foundation of the templating system to use basic HTML, if
How can the user disable CSS?
Your layout *should be* defined by CSS.
You need to deal with users who use IE of course. But even Microsoft
catches up with version 8.
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy