Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

How to highlight a row

Question posted by: luigi.corrias@gmail.com (Guest) on June 27th, 2008 07:16 PM
Hello everybody

i have a file text.

in this file text i use asp.net to search some words and, at the end,
the word is highlited in red, orange...

Is highlighted only the word...

i really love not the single word but the entire row

i now have:

Mary love the *lambs*

i want

*mary love the lambs*

i use span tag

Pleasy any suggest?!

Thanks

Luigi
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Erwin Moller's Avatar
Erwin Moller
Guest
n/a Posts
June 27th, 2008
07:16 PM
#2

Re: How to highlight a row
Join Bytes! schreef:
Quote:
Originally Posted by
Hello everybody
>
i have a file text.
>
in this file text i use asp.net to search some words and, at the end,
the word is highlited in red, orange...
>
Is highlighted only the word...
>
i really love not the single word but the entire row
>
i now have:
>
Mary love the *lambs*
>
i want
>
*mary love the lambs*
>
i use span tag
>
Pleasy any suggest?!
>
Thanks
>
Luigi


Well Luigi, the simple answer is: change your code accordingly.
You need to expand your span so it surrounds the whole text, or even
better, change the container holding the the text (the td of a table eg,
or a div) so that the bold-style is defined in there.
Why don't you try it yourself, and try to adhere your span-style to the
td element or whatever it is that holds the text?
I won't be difficult *if you see the code*, which we do not. ;-)

What do you expect from us?
An answer like: "Go to line 42, and change the regex to /^whatever/g"?
We need code.

Also, you might get luckier if you post your example in a newsgroup
dedicated to asp.net.

Regards,
Erwin Moller

 
Not the answer you were looking for? Post your question . . .
182,268 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors