Hmm...
that's a definite possibility. Might have to think a bit about that one. Thanks.
:)
If the
"stylesheet" were to be included in the head of the document, rather than an
external file, this should work....
Cheers,
Seona.
you could use inline styles to pull the required
value(s) from the database. eg: (background-color: <% your.recordset.value
%>;)
dynamically generating a css document from a
dbase is beyond my feeble skills.
Sennan Lagaluga Mock Orange Web Site
Development U: www.mockorange.com.au P: 07 4953
4035 F: 07 4953 4030 ---------------------------------------- 1st
Floor, 92 Victoria Street Mackay Q Australia
4740
----- Original Message -----
Sent: Wednesday, March 10, 2004 2:31
PM
Subject: [WSG] Dynamically populating
stylesheets?
Hi guys,
Is this even possible? What I have is a
site that gives people a chance to set up their own information sections
where they can record their own content. I would like that an account
holder can state which colours, font sizes, font styles, etc they want
for their section and have this information gets recorded in a database.
That's the easy bit, and I can do that no problem. What I need then if
that when a user navigates to a particular section, the system pulls
these values from the database and populates the stylesheet with them so
that the section displays in the requested colours and styles.
If
it makes any difference, I'm working in ColdFusion.
Of course, if
this is just a pipe dream then I'll just have to sit down and figure out
another way around the problem. Id really prefer not to have to use the
selection form as a way for account holders to email me their preferences
so I can make them a new stylesheet if I can help it...
:)
Cheers,
Seona. --- Outgoing mail is certified Virus
Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version:
6.0.605 / Virus Database: 385 - Release Date:
1/03/2004
***************************************************** The
discussion list for http://webstandardsgroup.org/ *****************************************************
|