<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Need help referencing files</title><link>http://forums.asp.net/thread/3275098.aspx</link><pubDate>Sun, 05 Jul 2009 04:43:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275098</guid><dc:creator>Bobby-Z</dc:creator><author>Bobby-Z</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275098.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3275098</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;the above is a great solution, a simple one would be href=&amp;quot;../CSS/Stylesheet.css&amp;quot;&lt;/p&gt;
&lt;p&gt;I was using the same format&lt;/p&gt;
&lt;p&gt;/Master&lt;/p&gt;
&lt;p&gt;/CSS&lt;/p&gt;
&lt;p&gt;If you do this you need to add the ../ to the file to backup one folder from the one you are currently in&lt;/p&gt;
&lt;p&gt;Is there a reason why you are not using a Theme - In a theme you place both your skin file and css in the same directory under the APP_THEMES&lt;/p&gt;
&lt;p&gt;/App_Themes/MainTheme&lt;/p&gt;
&lt;p&gt;Then at the page directive or in web.config you simply state Theme=&amp;quot;MainTheme&amp;quot; StyleSheetTheme=&amp;quot;MainTheme&amp;quot; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.asp.net/learn/videos/video-393.aspx"&gt;http://www.asp.net/learn/videos/video-393.aspx&lt;/a&gt;&amp;nbsp;this video shows how easy it is. If you need help - I can post more info for you.&lt;/p&gt;
&lt;p&gt;This is also a simple way to have multiple themes and link the directly to each page you want wach theme to be.&lt;/p&gt;</description></item><item><title>Re: Need help referencing files</title><link>http://forums.asp.net/thread/3274528.aspx</link><pubDate>Sat, 04 Jul 2009 10:06:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274528</guid><dc:creator>anas</dc:creator><author>anas</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274528.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274528</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;kiloez:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;lt;link&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;href&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;CSS/stylesheet.css&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;rel&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;stylesheet&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;type&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;text/css&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Please use ResolveUrl method for that purpose :&lt;/p&gt;&lt;p&gt;&amp;lt;link href=&amp;quot;&amp;lt;%= ResolveUrl(&amp;quot;~/CSS/stylesheet.css&amp;quot;) %&amp;gt;&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Need help referencing files</title><link>http://forums.asp.net/thread/3274313.aspx</link><pubDate>Sat, 04 Jul 2009 06:13:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274313</guid><dc:creator>kiloez</dc:creator><author>kiloez</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274313.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=3274313</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;d like to be able to keep like files in separate folders for a web site.&amp;nbsp; Master pages go in a master pages folder, style sheets go in a CSS folder, etc.&amp;nbsp; However, my master pages can&amp;#39;t find the CSS files.&amp;nbsp; I get a &amp;#39;File....css&amp;#39; was not found.&amp;nbsp; The style sheet ref in the master page is referenced as follows:&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;lt;link&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;href&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;CSS/stylesheet.css&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;rel&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;stylesheet&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;type&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;text/css&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;but it&amp;#39;s not working.&amp;nbsp; Please help.&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;</description></item></channel></rss>