yep here you go:

<cfset Results = "Sun Cobalt Qube 3 software architecture is designed 
to
provide an enhanced developer platform. Our Sun Cobalt Qube 3 appliance
software architecture enables third-party developers to customize,
modularize, and implement services in record time.">

<cfset Search = "Sun">

<cfset NewResults = REReplaceNoCase("#Results#", "(#Search#)", "<FONT
COLOR=""##ff0000""><B>\1</B></FONT>", "ALL")>

<cfoutput>
#NewResults#
</cfoutput>

-----Original Message-----
From: Burcham, Steve [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 12:20 PM
To: CF-Talk
Subject: Use of Style Sheets


Has anyone used CSS to display the search text in a different color or 
font
weight, within a description field? I want my search text to be clearly
displayed, kind of like the way Google displays all of the words you 
search
on in bold in the description of the linked website.
 
Or does anyone know of a better way to do this?
 
Thanks, Steve


______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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