Master Page / CSS - linking issue.

Posted by Community Admin on 04-Aug-2018 14:46

Master Page / CSS - linking issue.

All Replies

Posted by Community Admin on 05-Apr-2011 00:00


I am having problems getting my (.master -page) to see my css files. I've tried a couple of approaches:

1.) Adding the .css to the 'Global' directory - did not work
2.) Using the CSS Widget - did not work
3.) Calling the .css in the HTML (as suggested in the Designers Guide.PDF) - BELOW - not working..

Here is what I have:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<link href="/InfoRetail/WWW/WebsiteTemplates/InfoRetail/includes/css/reset.css" rel="stylesheet" />
<link href="/InfoRetail/WWW/Sitefinity/WebsiteTemplates/InfoRetail/includes/inforetail.css" rel="stylesheet" />

I am also experiencing an issue with my (.master) pages not showing up in the interface when browsing my 'App_Master' directory.

Running this on a server (not a desktop install)

Directory Screenshot below:


Posted by Community Admin on 05-Apr-2011 00:00

I am at complete stand-still until I receive some sort of feedback or alternative solution for getting the css to be recognized in my master page.  Hopefully its a simple error on my part, however I need to rule out that my master page is markup correctly.

I decided to add my stylesheets to the GLOBAL directory one more time with a 'cssLoadOrder.xml calling the styles. Below is code of the page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<link href="/Sitefinity/WebsiteTemplates/InfoRetail/App_Themes/InfoRetail/global/reset.css" type="text/css" rel="stylesheet" />
<link href="/Sitefinity/WebsiteTemplates/InfoRetail/App_Themes/InfoRetail/global/inforetail.css" type="text/css" rel="stylesheet" /></head>

<form method="post" action="Preview" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="ctl02_TSSM" id="ctl02_TSSM" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUENTM4MWRkhgZx8WpO04gJp4xY6jde6zDmLDzk1Nwfx3F630R4Xio=" />

<script type="text/javascript">
var theForm = document.forms['form1'];
if (!theForm) 
    theForm = document.form1;

function __doPostBack(eventTarget, eventArgument) 
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) 
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;


<script src="/WebResource.axd?d=QBnFx_BdTsfejUmKPduKI5rkZAV6-8U1f2W4gLB-CYeG4u--oDaLj-F6yYgFnJXlrDFcsunmIMlq0_uYuEzXLPe5A3iot-itween_iJmBa41&amp;t=634372237361071470" type="text/javascript"></script>

<script src="/ScriptResource.axd?d=BTqQZUHKGV8grP5pM82Gph3DdplRA06Yn2o-hJX00MGR0eKKNFnLjr04wrrSCvu3JB4dCtZy4LhNAgzfbWTIXxYS1t_TzBSdyMlNYHUCdNDIy01c_4tUYkg3WiHRa9fORPZmXdJ6qEanI_C73zpjKAIFgYE2BwNc4ybTr6ZHKvE1&amp;t=2610f696" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=tY5J6p1GVYbmw6MFjv5AoaRJf29A8ViqKHDSwleWF_TPjPmGev-cxcZloPCEbX31GF92B8fvGGdS5NP9b5JV1SL9kSn4ptVRVDuHJgPr_zyBD_uVXYtpl2ES2YunM1DMleRTUiKgFqQwY1cxqnRRrAVNX0k4AQ8CmhuCMne4CIMlBk-Xnsk5z4Pykdgj1qzI0&amp;t=2610f696" type="text/javascript"></script>
<script type="text/javascript">
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', 'form1', [], [], [], 90, 'ctl00');

<div class="container">
	<div class="header"> 
	    <div class="logo"></div>
    <!-- end header -->
<!-- end container -->




Posted by Community Admin on 05-Apr-2011 00:00

Update: Not sure if this has any relevance, but I installed SilverLight and restarted my computer and now the pages are rendering correctly.


This thread is closed