| Add Background Image to Textarea Using CSS |
|
Create Html File with following code.
<html>
<head> </head> <body> <form name="form1" method="post" action="" > <textarea name="textarea" style="height: 150px; width: 190px";></textarea> </form> </body> </html> Above code will give you the following result
Add Following code between <head> and </head>
<style type="text/css">
<!-- textarea { background-image: url(textarea.jpg); } --> </style> The output will be as follow
|

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License