Drawing a box around an arbitrary HTML block
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
I am writing a winform application that allows the user to define a range in a HTML document by selecting two anchor points: beginning and end. I'd like to graphically display the selected range by programattically inserting HTML into the in-memory version of the HTML, which should then render in my WebBrowser control. Ideally, I'd like to draw a box around the selected range, maybe with a nice colored background. Unfortunately, the beginning and ending anchor points may not reside in the same HTML block, and I'm not sure how to write the HTML to make a box span HTML blocks like that. Clear as mud? Any thoughts or ideas would be appreciated. Aaron