vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Textbox Image (https://vborg.vbsupport.ru/showthread.php?t=56572)

Cal Poly Forum 08-28-2003 08:52 PM

Textbox Image
 
1 Attachment(s)
Saw this from superhonda.com

How can I have a text in the text box like that. (see attach file)

assassingod 08-29-2003 06:18 AM

Use this in your textarea tag:

Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;
This can be done via CSS as well

lasto 08-29-2003 10:23 AM

gonna try this myself

but where about in admin cp is the textarea tag

filburt1 08-29-2003 10:24 AM

Quote:

Today at 03:18 AM assassingod said this in Post #2
Use this in your textarea tag:

Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;
This can be done via CSS as well

That is itself CSS ;)

Edit the headinclude template to modify the textarea class.

lasto 08-29-2003 10:54 AM

cheers filburt

lasto 08-29-2003 11:06 AM

i enter the above code in the headinclude template and it just displays the code on the pages

is there more to this than that above?

and does it matter where about i put the line in headinclude ?

assassingod 08-29-2003 11:56 AM

Try this:

Open headinclude template, find:
Code:

TEXTAREA, .bginput {
Under, add
Code:

textarea {style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;}
Should work

@filburt; heh thanks:o

lasto 08-29-2003 12:19 PM

im getting a white box is all + its changing the fonts to big for some reason

for imgurl is ('$imagefolder/hand.gif);

assassingod 08-29-2003 12:20 PM

Oops, I made a mistake in my code, use this instead:
Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;

lasto 08-29-2003 12:46 PM

sorry assassingod i gave up on it

nothin happened all i got was a white box which was normally grey and the pic is uploaded to the dir i put in the URL

style="background-image: url('$imagefolder/hand.gif'); background-repeat: no-repeat; background-attachment: fixed;

also in my header include this may be the prob as i dont have the same code in it as u posted for me to find.

TEXTAREA, .bginput {

mine is just

TEXTAREA
{


All times are GMT. The time now is 11:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00997 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete