Lisa
Lisa

Reputation: 3181

Add Text editor to my web application

I need a text editor that I can add as a component to my ASP.net web application, but I need an extra feature in it, it's watermarking. Can you help me?

Recommend components names

Text Watermark

Upvotes: 1

Views: 419

Answers (2)

amelvin
amelvin

Reputation: 9051

A bit like @Shoban I'm sceptical about a watermark on a text editor, watermarks are usually added to images.

But you could use the url attribute of the background-image css style to the control containing the texteditor, for example:

.texteditor {
background-image:url('watermark.gif');
}

Upvotes: 0

scottrudy
scottrudy

Reputation: 1742

Well you need to render HTML in this fashion

<textarea rows="10" cols="20" style="background-image:url('yourimage.jpg')"></textarea>

You could set the background-image style property on whatever control you use. I recommend the image should use a color scheme that will be easy to type over.

Upvotes: 1

Related Questions