vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Problem with threadbit_background variable (https://vborg.vbsupport.ru/showthread.php?t=253514)

Mr. P 11-11-2010 07:44 PM

Problem with threadbit_background variable
 
I am trying to edit this variable and I can edit it fine except for one problem. It isnt consistent between IE and other browsers. I have two options as follows:

I can make the Background Color:
url(http://www.siteaddy.net/images/bk2.png)
- With this the background image shows properly across the threadbit in IE, but doesnt show up at all and leaves the area transparent in every other browser.

I can also make the Background Image:
url(http://www.siteaddy.net/images/bk2.png)
- With this the background image shows up in every browser except for IE.

I can try to have the same value in both and in that case I am back to having the background image only working in IE.

Has anyone seen a problems like this? I would really like to have my site be fairly consistent across all browsers.

:edit: removed my site address and replaced with random example address so as not to seem as though I am spamming my site...

Lynne 11-11-2010 08:06 PM

Use the background property, instead of just background-color or background-image, and put in a color and an image.

Mr. P 11-11-2010 08:12 PM

Background property ... I don't see just a background property.

This is what I am looking at:

http://www.aspectgamers.net/tempdirectory/whatisee.png

This is an example of where on my site it isnt working out correctly. Please look at it in IE then Firefox/Chrome/Opera or whatever: http://www.aspectgamers.net/forumdis...hp?2-Off-Topic

Lynne 11-11-2010 09:40 PM

You didn't say you were using stylevars. You should not have a url entered where the color goes though.

I don't have IE, so I really can't help much more except to say that if you use a url in the background property, you also need a color.

Mr. P 11-11-2010 10:18 PM

Well that is the really odd thing. I know I am not supposed to have a URL there. However if I do not have that URL there then the background doesnt show up in IE. Inversely, when I do have that in the color section the background does show in IE but not other browsers. It is a very odd problem indeed.

:EDIT:

Also, to note. I do not have this issue with any other background I have set on any other part of the site. Just this one particular variable. In the mean time I can just use a color rather than the transparent background image I wanted to use ... but I would MUCH prefer to have the transparent background there aswell so it fits in better with the rest of my site. I will keep poking around and whatnot. I wonder if this could be something I could correct by directly editing a template

Lynne 11-11-2010 10:32 PM

I'd suggest looking at the difference in the CSS for the IE browser versus the firefox browser. Or, if there is no difference, the just looking at the CSS. What class is it that applies the background?

Taking a quick look at the threadlist-ie.css template, I'm guessing this may have something to do with it and you may want to modify it:
HTML Code:

.threadbit .nonsticky, .threadbit .discussionrow {
    background: {vb:stylevar threadbit_background.backgroundColor};
    _background-image: none;
    position: static;
}



All times are GMT. The time now is 12: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.00915 seconds
  • Memory Usage 1,731KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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