The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> What should I do when page loads CSS file slowly?
nmduc073
post Jul 22 2007, 09:04 PM
Post #1


Member
***

Group: Members
Posts: 42
Joined: 20-June 07
Member No.: 3,137



Hi,
I have the problem that my site sometimes loads CSS slowly. Thus, the layout looks like the mess. User has to refresh the page to make it display correctly. I don't know what to do now. Please give me some advice.

Thank in advance,
Duc
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 22 2007, 09:23 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Does this happen only in IE or in all browsers? What's the URL to your site?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
nmduc073
post Jul 22 2007, 09:37 PM
Post #3


Member
***

Group: Members
Posts: 42
Joined: 20-June 07
Member No.: 3,137



I don't notice the browser that it often occurs. It might be FF.

I am sorry that I can not give you the url. It's still in progress and our client might not allow to reveal it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 22 2007, 11:49 PM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Could it be a Flash of Unstyled Content?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
nmduc073
post Jul 22 2007, 11:55 PM
Post #5


Member
***

Group: Members
Posts: 42
Joined: 20-June 07
Member No.: 3,137



I don't use import. Here is the declaration in header of our Master page:

CODE

<link rel="Stylesheet" href="~/App_Themes/RH/RHeCSS.css" type="text/css" media="screen" />
    <link rel="Stylesheet" href="~/App_Themes/RH/RHCSS_Print.css" type="text/css" media="print" />
    <link href="~/App_Themes/RH/StyleSheetForGrid.css" rel="stylesheet" type="text/css" />
    <script language =javascript type ="text/javascript" >
       function Bookmark(UrlBookmark)
       {                
....
       }  
    </script>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 23 2007, 12:11 AM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



My guess is that href="~/App_Themes/RH/RHeCSS.css" and friends don't refer to the URLs you think they do.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 23 2007, 12:48 AM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Then how can refreshing the page help? blink.gif

Please post the URL. Guessing is no fun.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
nmduc073
post Jul 23 2007, 04:07 AM
Post #8


Member
***

Group: Members
Posts: 42
Joined: 20-June 07
Member No.: 3,137



QUOTE(Darin McGrew @ Jul 23 2007, 12:11 PM) *

My guess is that href="~/App_Themes/RH/RHeCSS.css" and friends don't refer to the URLs you think they do.

I don't think it's a cause. That scene rarely happens when the network is slow. It often works fine. Refresh page loads the whole CSS again and display layout properly.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 23 2007, 11:04 AM
Post #9


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Can you provide the URL (address) of a document that demonstrates the problem?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
nmduc073
post Jul 23 2007, 11:24 AM
Post #10


Member
***

Group: Members
Posts: 42
Joined: 20-June 07
Member No.: 3,137



Sorry, I wish I could. My PM doesn't allow me to do. BTW, thank for your helps. T_T
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 23 2007, 11:58 AM
Post #11


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Then how to you expect to get help?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 04:26 PM