vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   No repeat Background (https://vborg.vbsupport.ru/showthread.php?t=92801)

Corriewf 07-24-2005 05:54 PM

No repeat Background
 
I have tried several different ways of doing this and none will work in IE.
Right now I have this on the end of my page background url " no-repeat fixed".

I know that http://forum.yaxay.com/ has thiers working in IE and FF, but when I try their format for no repeat and fixed, it still doesnt work....

Does anyone know of one that works?

Guest190829 07-24-2005 06:00 PM

Code:

body
{
  background: url(urltoimage) fixed no-repeat;
}

should work...

Corriewf 07-25-2005 02:03 AM

This is the page background. Where do you suggest that I put that? Shoul I remove the primary line and use that whole code in the extra attributes or .....?

The reason I ask is that I beleive I have tried that code in a couple of instances.
This is what I have in the all style vars under the page background section:
PHP Code:

url('http://saltcreep.com/forums/surge/barrierbackground1.jpg')no-repeat fixed 

This is what it looks like on the page source:

PHP Code:

.page
{
    
backgroundurl('http://saltcreep.com/forums/surge/barrierbackground1.jpg')no-repeat fixed;
    
color#F9F9F9;



Guest190829 07-25-2005 02:12 AM

well you could use inline css so the style only affects that tag on whatever page.

Corriewf 07-25-2005 02:49 AM

What did you say?

Guest190829 07-25-2005 03:00 AM

[high]* Guest190829 is confused as too what you really want. :([/high]

Logikos 07-25-2005 03:10 AM

Quote:

Originally Posted by corriewf
I have tried several different ways of doing this and none will work in IE.
Right now I have this on the end of my page background url " no-repeat fixed".

I know that http://forum.yaxay.com/ has thiers working in IE and FF, but when I try their format for no repeat and fixed, it still doesnt work....

Does anyone know of one that works?


Admin Control Panel => Style Manager => All Style Options => Body Table => Extra CSS Attributes
Place this in there and edited the path to your image,
HTML Code:

background-image: url(path/to/picture.gif); background-attachment: fixed; background-position: topleft; background-repeat: no-repeat;
This should work on all current browsers.

Corriewf 07-25-2005 04:06 AM

Ok, when I try that in the page background ( which is what im shooting for), it works in FF, but in IE it just shows the image and it isnt fixed. When I try it in the body it doesnt show period.

I am pretty sure that, that is the right code though......

Check out the style im working with:

http://www.saltcreep.com/forums/?styleid=10

I also want to mention that the image is bordered by this code in the header:


PHP Code:

<!-- begin main inner table area-->
<
table border="0" width="100%" cellpadding="10" cellspacing="0" 
bgcolor="#1D2647">
<
tr><td>
<
table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#1D2647">
 
<!-- 
content table -->
<
table bgcolor="#1D2647" width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr>
  <
td


Logikos 07-25-2005 04:28 AM

Hmmm, strang that it would do that. Give me a few mins to test what your doing on my server and i'll see what I come up with.

Corriewf 07-25-2005 04:39 AM

Quote:

Originally Posted by Live Wire
Hmmm, strang that it would do that. Give me a few mins to test what your doing on my server and i'll see what I come up with.


If you want I can give you admin rights to my board to test out some stuff instead of trying to emulate on yours. I trust you. :)


All times are GMT. The time now is 07:02 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.01171 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_php_printable
  • (2)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