Hi all
how i can put a watermark on a HTML div??

Recommended Answers

All 4 Replies

Do you mean a background?

One way of doing it is create a background image for watermark (i.e. light colored text on a transparent background) say watermark.png and then use css to put this watermark image as a div background with the following css code

.watermarked-div {background-image:url('watermark.png');background-repeat:repeat;}

This will repeat your watermark across any div that has a class watermarked-div. You can disble repeating with background-repeat:no-repeat

why dont you use a photoshop or online free watermark services

what is meant by watermark?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.