Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 11-11-2010, 07:44 PM
Mr. P Mr. P is offline
 
Join Date: Nov 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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...
Reply With Quote
  #2  
Old 11-11-2010, 08:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use the background property, instead of just background-color or background-image, and put in a color and an image.
Reply With Quote
  #3  
Old 11-11-2010, 08:12 PM
Mr. P Mr. P is offline
 
Join Date: Nov 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

This is what I am looking at:



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
Reply With Quote
  #4  
Old 11-11-2010, 09:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 11-11-2010, 10:18 PM
Mr. P Mr. P is offline
 
Join Date: Nov 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 11-11-2010, 10:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:46 PM.


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.04368 seconds
  • Memory Usage 2,205KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete