Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS import doesn't always work in chrome
Old 05-17-2010, 10:14 AM CSS import doesn't always work in chrome
Novice Talker

Posts: 13
Trades: 0
hi,

my site's main CSS file includes an import of another CSS file:

@import url( '../inkblot/includes/css/cf-reset.css' );

the cf-reset.css file that is imported sort of defines the "backbone" of the site.

on my computer the site has always loaded fine with chrome, but on 2 other computers, the first time i loaded my site with chrome, the cf-reset.css wasn't loaded, which caused the site not to be centered. when i refreshed, though, the cf-reset file did load.

does anyone have any idea why the importing of this file doesn't always work properly? and how can i prevent this from happening? i don't want to lose new visitors because the site doesn't load properly.

my site's url (it's not in English):
www.ho-lo.co.il
matan811 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-17-2010, 02:16 PM Re: CSS import doesn't always work in chrome
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
There's likely nothing wrong with Chrome's behavior, it worked perfectly for me the first time. I've had many instances, with ALL the major browsers, not completely loading a css file, or graphics. If it was taking too long to load it, they browser may have timed out before it was completely loaded. IF you have text alternatives for your graphics, then your visitors should still see something.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-17-2010, 04:14 PM Re: CSS import doesn't always work in chrome
Novice Talker

Posts: 11
Name: Gary
Trades: 0
why not include the css in the standard way?
__________________
This is my php magento promotional website
Please login or register to view this content. Registration is FREE
webchamp is offline
Reply With Quote
View Public Profile
 
Old 05-18-2010, 03:21 PM Re: CSS import doesn't always work in chrome
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
There's no difference and there are advantages to using the @import with multiple css files.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS import doesn't always work in chrome
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.86050 seconds with 12 queries