Closed GoogleCodeExporter closed 8 years ago
I'm marking this 'Invalid' not because you're wrong, but because it's the way
the watermark works.
There are other watermark plugins out there that create a separate DOM element
and float it over the text box. Those plugins would not have a problem with
the text size being different.
However, this plugin specifically does not create a new element and float it
for many reasons. Instead, it mimics the native HTML5 placeholder property by
inserting the text directly into the text box and changing the style.
If you want to shrink the size of the watermark text, yet retain the same size
text box, it is possible using CSS. In your .watermark CSS definition, you
will need to adjust things like height, line-height, etc. I have done it
myself, so I know it's possible. Be sure to test your CSS in multiple browsers
to be sure it's working properly everywhere.
Original comment by t...@speednet.biz
on 27 Aug 2010 at 3:24
Original issue reported on code.google.com by
kimball....@gmail.com
on 25 Aug 2010 at 1:19