I am writing BHO for Internet Explorer, where I search for specific words on a web page and encapsulate the words found in the HTML tag for style purposes.
I have code to change the style property when iterating over the tag, but what I want to do is show the โboxโ around the word, but I donโt want to move the text to any other position, the original one.
To illustrate, I took a snapshot (imagine the word โOverflow!โ Is in its own HTML tag):
Image # 1 before, and # 2 - when the mouse picks up a word!

Can anyone help me with any suggestions on how to solve this problem? Javascript CSS style?
javascript html css internet-explorer mouseover
nelshh
source share