Also, if you want to make use of a particular style sheet definition
for the highlighting of found words in excerpts, you can change
the start_highlight and end_highlight attributes in your config
file.  See http://www.htdig.org/attrs.html#start_highlight and
http://www.htdig.org/attrs.html#end_highlight

According to Ted Stresen-Reuter:
> put this in the HEAD tag or in your style sheet (minus the STYLE tags 
> of course):
> 
> <style type="text/css">
> div.excerpt b
> {
>       color: yellow;
> }
> div.excerpt strong
> {
>       color: yellow;
> }
> div.excerpt em
> {
>       color: yellow;
> }
> </style>
> 
> 
> and then in the template:
> 
> <div class="excerpt">$(EXCERPT)</div>
> 
> 
> 
> Let us know if this works or not.
> 
> Ted Stresen-Reuter
> 
> On Jul 23, 2004, at 5:52 PM, [EMAIL PROTECTED] wrote:
...
> > The search words are default-massively "bolf" indicated. I would like 
> > to
> > indicate however it colored, dependent on "skin", I want to use a 
> > css-class
> > for it. The question is, how can I implement my css-class in the
> > htdig-Parameter $(EXCERPT)??


-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to