Here are three methods you can approach this one.

1) Server Side Dynamic Style Sheets inline
Use a cfinlude where the cfm template dynamically generates inline style
information.  Then all you have to do is include
that such as in a standard header.  You code the included template to
dynamically generate specific styles based on your conditionals.

<cfoutput>
<STYLE TYPE="text/css">
<!--
H1 { color: #STYLECOLOR#; font-family: #STYLEFONT# }
P { background: #STYLEBKGNDCOLOR#; font-family: #STYLEPARAGRAPHFONT# }
-->
</STYLE>
</cfoutput>

Note: You can do some real nifty dynamic style sheets using personalization,
such as giving a user the capability of setting 
up their own skin.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to