Sign in | Join
Last post 08-30-2007 2:32 AM by Johnson2007. 5 replies.
Sort Posts: Oldest to newest Newest to oldest
I downloaded "Yslow" this morning and in the performance analysis i got:
D5. Put CSS at the top3 external stylesheets were found outside the document HEAD.
In my source view:
<head>
<title> xxx</title>
<link href="App_Themes/Default/StyleSheet.css" type="text/css" rel="stylesheet" />
</head><body>
Is it Yslow who is wrong here? If not how can i force my css to be placed in the head?
What is "Yslow"? Is it a down loadable Theme? Could you provide a link?
Your Source View looks correct with the external style sheet placed within the head tag. Could you provide a source view showing the placement of your webresource.axd?
Sorry should have provided a link, anyway here it is: http://developer.yahoo.com/yslow
As for the webresource.axd yes, they are outside the <head> in source view.
It looks like it could be a bug with YSlow. Some people are experiencing similar problems, take a look at these links:
While you have the master page open look in the properties pallete and select the stylesheet option and go from there you will need to make the neccessary choices I believe you can handle it form there. The other thing is to remember to refresh the project when ever you make changes to the folder tree using the refresh button at the top of the solution explorer.
DKB
Why not ask for question from Yahoo's expert. http://developer.yahoo.com/yslow/feedback.html