vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Back ground (https://vborg.vbsupport.ru/showthread.php?t=294801)

FTG LIQUID CL 02-05-2013 04:46 PM

Back ground
 
How do I make a background image remain still when I scroll.When I scroll down the background image moves with the scroll.Is there a way I can make the background image remain still when I scroll down?

FTG LIQUID CL 02-06-2013 11:24 AM

Wrong forum...this should be in vb 4

Digital Jedi 02-06-2013 12:35 PM

Presuming you've applied the background image to an element with CSS, you just set the background-attachment to fixed:

HTML Code:

background-image:url('mybackground.gif');
background-repeat:no-repeat;
background-attachment:fixed;

Then you can set the position of the element, if you don't want it to default to the top right corner.

Or you can use it in the shorthand version, which is, essentially, in this order:background-color background-image background-attachment position-x position-y:

Code:

background:#FFFFFF url('img_tree.png') no-repeat center top

ndut 01-23-2014 03:06 PM

^^ which template i should change, to do that in vbulletion 5.05?


All times are GMT. The time now is 10:22 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.01104 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete