vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Storing CSS StyleSheets as Files Option Issues with IE (https://vborg.vbsupport.ru/showthread.php?t=205816)

ZomgStuff 02-18-2009 04:46 PM

Storing CSS StyleSheets as Files Option Issues with IE
 
Anyone have problems with setting CSS Stylesheets to be stored as files in /clientscript/ with IE?

If I set it to files, IE7 has issues rendering the CSS, but FF works perfectly fine.

Here is what it looks like when I set CSS to save as files
http://img403.imageshack.us/img403/2931/66521533tr9.png

And yes, I have CHMOD'd 777 the appropriate folder.

snakes1100 02-18-2009 04:57 PM

Did you clear your browser cache/temp internet files folder and restart IE?

ZomgStuff 02-18-2009 05:03 PM

Yes, I've cleared all cache/history, and still the same thing.

I'm also not the only person to have this issue, and apparently the problem persisted even on IE7.

Edit:

I did some playing around, and looks like the default vBulletin skin works just fine, along with a secondary skin that we have. The issue is only with the primary skin, any idea what could cause this?

nexialys 02-18-2009 05:11 PM

it is simple... the CSS have a direct path with the image in the background of the field, but when you store the css in file, the path changed... you have to verify the "url(thispath/image.gif) stuff and make it go direct to the proper place.

snakes1100 02-18-2009 05:12 PM

As thats a custom skin, you should ask the person who coded it, there could be a reasons that skin cant store the css as files.

You can check your servers error log for a reason why as well.

ZomgStuff 02-18-2009 05:14 PM

Quote:

Originally Posted by nexialys (Post 1748195)
it is simple... the CSS have a direct path with the image in the background of the field, but when you store the css in file, the path changed... you have to verify the "url(thispath/image.gif) stuff and make it go direct to the proper place.

But why then would it not work in IE, and work perfectly fine in FF? Difference ways of rendering/retrieving css? Also, the poll thread td and sticky thread td are no images, just colors.

nexialys 02-18-2009 05:15 PM

yeap...

--------------- Added [DATE]1234984732[/DATE] at [TIME]1234984732[/TIME] ---------------

example: your actual CSS have:
Code:

url(../../images/techtwo/misc/table1.gif)
.. IE does not like the ../../ stuff... FF already handle them properly.

change your CSS details to this:
Code:

url(http://forum.zomgstuff.net/images/techtwo/misc/table1.gif)
and everybody will be happy

the TD with color is because they all have a color of background set... it's the image url that IE is not reading likely.

ZomgStuff 02-18-2009 05:23 PM

Quote:

Originally Posted by nexialys (Post 1748204)
yeap...

--------------- Added [DATE]1234984732[/DATE] at [TIME]1234984732[/TIME] ---------------

example: your actual CSS have:
Code:

url(../../images/techtwo/misc/table1.gif)
.. IE does not like the ../../ stuff... FF already handle them properly.

change your CSS details to this:
Code:

url(http://forum.zomgstuff.net/images/techtwo/misc/table1.gif)
and everybody will be happy

the TD with color is because they all have a color of background set... it's the image url that IE is not reading likely.

I did that, but it didn't seem to change anything. I even included single quotes ('), and deleted cache.

Quote:

the TD with color is because they all have a color of background set... it's the image url that IE is not reading likely.
What do you mean? It's just a hex color for the background color, why would it need an image url?

nexialys 02-18-2009 05:33 PM

Quote:

Originally Posted by ZomgStuff (Post 1748212)
I did that, but it didn't seem to change anything. I even included single quotes ('), and deleted cache.

you changed it now, it is in the dB, and it shows properly... but the url() have no domain, so if it works that way, maybe it's the path, as i said...

Quote:

Originally Posted by ZomgStuff (Post 1748212)
What do you mean? It's just a hex color for the background color, why would it need an image url?

i was refering to the ones with background images...

ZomgStuff 02-18-2009 05:41 PM

Quote:

Originally Posted by nexialys (Post 1748216)
you changed it now, it is in the dB, and it shows properly... but the url() have no domain, so if it works that way, maybe it's the path, as i said...



i was refering to the ones with background images...

Hm, even the ones with background images seem to have had no effect when I completed the url() tags properly.:confused:


All times are GMT. The time now is 03:08 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.03080 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (6)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