954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

watermark on html

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

baig772
Junior Poster
123 posts since Mar 2011
Reputation Points: 29
Solved Threads: 6
 

Do you mean a background?

cereal
Master Poster
710 posts since Aug 2007
Reputation Points: 214
Solved Threads: 120
 

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

broj1
Posting Whiz
363 posts since Jan 2011
Reputation Points: 29
Solved Threads: 43
 

why dont you use a photoshop or online free watermark services

rahul.patil123
Newbie Poster
Banned
16 posts since Feb 2012
Reputation Points: 10
Solved Threads: 1
Infraction Points: 10
 

what is meant by watermark?

salumerzi4
Newbie Poster
1 post since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: