...

View Full Version : Input field background picture?



Apples
12-08-2007, 08:49 PM
Is it possible to apply a background picture to an input field? If so, could you post example code on how to work that?

rnd me
12-08-2007, 09:33 PM
<input style="background-image:logo.gif" value="text here" size="29" type="text" />

Philip M
12-09-2007, 08:15 AM
Something like this:-

<style type="text/css">
<!--
INPUT { background-color: teal}
TEXTAREA { background-image: url(image.gif)}
.special { background-color: red; }

-->
</style>


<form name ="myform">
Your Name:
<INPUT type="text">
Your Message
<TEXTAREA cols="20" rows="10"></TEXTAREA>
<INPUT class="special" type="submit">
</form>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum