Exactly what I was begining to type :) We're going through a lot of
un-needed code revisions to undo that which should not have been done.
Everything is an ID in our CSS and it is realy really messed up.

Adam H


On Mon, 14 Mar 2005 08:38:45 -0500, Calvin Ward <[EMAIL PROTECTED]> wrote:
> This is good, but I would do the following instead:
> 
> In the CSS put...
> ..searchHighlight {background-color: #ffff00}
> 
> In the HTML...
> You can <span class="searchHighlight">highlight</span> text within search
> results.
> 
> The reason is that there should only be one instance of an ID in an html
> document and the name of your CSS class should be semantic instead of
> specific so that when the client asks you to highlight in green, you can
> change your class attributes and everything will still make sense!
> 
> - Calvin
> 
> -----Original Message-----
> From: Brook Davies [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 11, 2005 1:09 PM
> To: CF-Talk
> Subject: Re: Gmail highlighting
> 
> Wrap the search result word in the span tag shown below
> 
> in the CSS put...
> #yellow {background-color: #ffff00}
> 
> in the HTML...
> you can <SPAN id="yellow">highlight</SPAN>text within search results.
> 
> Brook
> 
> At 10:00 AM 3/11/2005, you wrote:
> >Those with Gmail will notice the interesting "turn on/off highlighting"
> >feature after doing a text search of the mail.
> >
> >Has anyone come up with an effective way to highlight a search term in a
> >result set using Cold Fusion?
> >
> >
> >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198643
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to