nmduc073
Jul 22 2007, 09:04 PM
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
pandy
Jul 22 2007, 09:23 PM
Does this happen only in IE or in all browsers? What's the URL to your site?
nmduc073
Jul 22 2007, 09:37 PM
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.
Darin McGrew
Jul 22 2007, 11:49 PM
nmduc073
Jul 22 2007, 11:55 PM
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>
Darin McGrew
Jul 23 2007, 12:11 AM
My guess is that href="~/App_Themes/RH/RHeCSS.css" and friends don't refer to the URLs you think they do.
pandy
Jul 23 2007, 12:48 AM
Then how can refreshing the page help?
Please post the URL. Guessing is no fun.
nmduc073
Jul 23 2007, 04:07 AM
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.
Darin McGrew
Jul 23 2007, 11:04 AM
Can you provide the URL (address) of a document that demonstrates the problem?
nmduc073
Jul 23 2007, 11:24 AM
Sorry, I wish I could. My PM doesn't allow me to do. BTW, thank for your helps. T_T
pandy
Jul 23 2007, 11:58 AM
Then how to you expect to get help?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.