Fellows,
I'm trying to come up with a design which involves storing "presentation" information in a table in a MySQL database. This information would include color schemes, border sizes, fonts style, color, etc. Getting this all working would enable something like this pseudocode:
DRAWING A PAGE
1.) query this page's table in presentation database, retrieve the following:
a.) background-color
b.) font size, family, etc. for h1, h2, p, a, etc.
2.) use this information to draw the page.
Now, I've been using external CSS2 style sheets to draw my pages, but I'm wondering how I can make the external style sheet dynamic in this way. External style sheets make the style elements of a page static.
Has anyone managed to use a database table to generate style information, in a dynamic way? Seems like this would enable all sorts of cool stuff regarding drawing a page...
Thanks in advance...
chewy