Today when I filled my calendar at google I saw that t开发者_JS百科he description of the event is in bold font:
<input id=":g" name=":g" type="text" class="textinput" dir="ltr">
Is it possible to render the custom text style in the text input field?
Thanks Arman.EDIT Simple search I fond that the jquery watermark plugin can do similar thing.
CSS can format text in text input field:
<html>
<head>
<style type="text/css">
input {font-weight:bold;}
</style>
</head>
<body>
<input type="text"/>
</body>
</html>
try this you don't need to write css
<input type="text" style="font-weight: bold;">
精彩评论