Houckham
Member
Registered: 29th May 03
Location: Newcastle upon Tyne
User status: Offline
|
Im wanting to put a background image into a text input box in a form
heres my code:
code: <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" background-image: url('http://www.mydomain.com/forum/templates/subSilver/images/back_textbox.jpg'); background-position: center; background-attachment: fixed; tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea>
i have no idea whats wrong but its not working... 
anyone know whats wrong with it?
Cheers
|
matt10i
Member
Registered: 19th Jun 05
Location: Waterlooville, Hants
User status: Offline
|
this bit is out of the speech marks 
code: background-image: url('http://www.mydomain.com/forum/templates/subSilver/images/back_textbox.jpg'); background-position: center; background-attachment: fixed;
it shud be in the bit where style="width:450px" is
|
Houckham
Member
Registered: 29th May 03
Location: Newcastle upon Tyne
User status: Offline
|
lol how did i miss that out!
hahaha
thanx very much mate
Cheers
|
Tim
Site Administrator
Registered: 21st Apr 00
User status: Offline
|
...with a semi-colon after the width: 450px too
|
Houckham
Member
Registered: 29th May 03
Location: Newcastle upon Tyne
User status: Offline
|
yip
i saw that too.. cheers tim
|