In-Reply-To: <[EMAIL PROTECTED]>
Jeff Fulmer <[EMAIL PROTECTED]> asked:

> Is there an easy way for me to shorten the length of the text inside the
> <A></A> tags in the output from htsearch.
> 
> For example, this query:
> http://www.joedog.org/gizmo/results.php?words=Send+mail+to+&restrict=htt
> p%3A%2F%2Fwww.joedog.org%2Fgizmo%2F&x=9&y=4
> 
> Pushes the right nav off the page because one of the resulting links is
> so long. 

I'm guessing here and don't have time to try it out - 
but you can almost certainly do something with CSS in
the results page. 

For example, wrap the search result in a DIV so that
it outputs: 

  <DIV class="result"><A HREF="long_string">long_string</A></DIV>
  
and in your style sheet include 

  DIV.result {display:block; width:400px; other_stuff:other_values}

You may of course fall over the IE implementation of the 
nonexistent CSS 1.5 ... but that's the way it goes.

Mike


  



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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