Unless I'm think about this wrong, there's no way a style sheet can parse out certain words and apply a style to them. Once the html itself includes spans with classes applied for cf tags, cf functions, cf vars, etc, *then* a stylesheet could be used to control what those look like.
I'd be interested to know if there's another way. Dave Merrill > Ah... Hmm.. I was wondering if we could find something just in CSS > > I shall have a look > > MD > > > On Sat, 22 Jan 2005 14:35:15 +0000, Ian Winter > <[EMAIL PROTECTED]> wrote: > > There is a custom tag about, cf coloured code perhaps? Fairly sure Ray > > Camden uses it in his blog. > > > > Ian > > > > > > On Sat, 22 Jan 2005 13:50:16 +0100, Mark Drew > <[EMAIL PROTECTED]> wrote: > > > I want to paste some CF code snippets on my blog. How do people achive > > > (easily) code colouring for CF tags in their blog? > > > > > > i.e. > > > > > > <cfparam name="something" default="somethingelse"> > > > where cfparam, name, default are in red and the values are in blue (as > > > an example) > > > > > > Is there a stylesheet for CF code that I can use? > > > > > > -- > > > Mark Drew ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191444 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54