View Full Version : How to insert background image at the textbox area
imported_iKwak
03-22-2004, 03:26 AM
At vbulletin templates.com, you can see light-colored images in the textbox area.
Could the webmaster at vBT teach/share with us on how to do such cool hack (for vb3 Gold)?
Thanks in advance. (Should this go on vb3 Template Requests? I didn't since the hack seems to exist).
It is done with css :).
In the main css area in the style editor find the Input Fields Options and in the Extra CSS Attributes box add this on a new line
background-image: url("path/to/backround.gif");
imported_iKwak
03-23-2004, 05:39 AM
Thank you.
I'm going to go try it out. :cool:
Zachery
03-23-2004, 04:28 PM
Actually, no quotes
background-image: url(path/to/backround.gif);
That would be correct.
Twistedsoulz
03-23-2004, 05:39 PM
<style type="text/css">
body
{
background-image:
url("/images/bgdesert.jpg")
}
</style>
this is from my inline style sheet and works well... I use the quotes it never gave me any problems.
Zachery
03-23-2004, 05:58 PM
Yes however, it will break on older browsers and for vB if you have it saved as file vs in the database.
Twistedsoulz
03-23-2004, 06:04 PM
yeah netscape 4.0 and below won't support it... IE 4.0 will though... guess it depends on yoru audience ;)
Zachery
03-23-2004, 06:05 PM
As i said, if you store your CSS as files it will also break .
Twistedsoulz
03-23-2004, 06:11 PM
oh.... i get what you mean.. sorry just started learning... if it is called from the db it won't hurt you.. but if you have the save css as a file turned on it will break ... thanks for the info...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.