I have a WebBrowser control added to my form, which I am allowing users to create custom html email templates. The problem I have is that when you with the 'Return' key, the cursor jumps what looks like 2 lines. I've looked at the HTML behind it and it seems to add a <p> (Paragraph) item each time, whereas I would like a line break <br/> to be using when the return key is pressed.
I have looked around and am unable to find anything. Could someone help me to to override the KeyPress event on the WebBrowser and for a <br/> to be used instead of <p>. I know that the WebBrowser does not have a KeyPress event, hence I need some help on how to capture key presses.
Thanks in advance
Simon
I have looked around and am unable to find anything. Could someone help me to to override the KeyPress event on the WebBrowser and for a <br/> to be used instead of <p>. I know that the WebBrowser does not have a KeyPress event, hence I need some help on how to capture key presses.
Thanks in advance
Simon