<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Solving SharePoint issues</title>
	<atom:link href="http://ericschrader.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericschrader.wordpress.com</link>
	<description>Developer tips on Ajax, C-Sharp (C#), jQuery, JavaScript, XSLT, XML, HTML and CSS</description>
	<lastBuildDate>Thu, 29 Dec 2011 16:12:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ericschrader.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/adf2d06ae39d0ea6af22f5a877b5be25?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Solving SharePoint issues</title>
		<link>http://ericschrader.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ericschrader.wordpress.com/osd.xml" title="Solving SharePoint issues" />
	<atom:link rel='hub' href='http://ericschrader.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Microsoft SharePoint Hyper-V virtual machine DNS fix</title>
		<link>http://ericschrader.wordpress.com/2011/01/26/microsoft-sharepoint-hyper-v-virtual-machine-dns-fix/</link>
		<comments>http://ericschrader.wordpress.com/2011/01/26/microsoft-sharepoint-hyper-v-virtual-machine-dns-fix/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 02:06:17 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eschrader.com/2011/01/26/microsoft-sharepoint-hyper-v-virtual-machine-dns-fix/</guid>
		<description><![CDATA[After downloading the MS SharePoint preconfigured VM (demo2010a and demo2010b), I started them up on my network and noticed they would not load the SharePoint sites. Here is the VM I downloaded from Microsoft: 2010 Information Worker Demonstration and Evaluation Virtual Machine (RTM): http://www.microsoft.com/downloads/en/details.aspx?FamilyID=751fa0d1-356c-4002-9c60-d539896c66ce&#38;displaylang=en   After trying the site http://intranet.contoso.com in the Demo2010A machines internet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=153&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After downloading the MS SharePoint preconfigured VM (demo2010a and demo2010b), I started them up on my network and noticed they would not load the SharePoint sites.
</p>
<p>Here is the VM I downloaded from Microsoft: <strong>2010 Information Worker Demonstration and Evaluation Virtual Machine (RTM):<br />
</strong></p>
<p><strong><br />
			<a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=751fa0d1-356c-4002-9c60-d539896c66ce&amp;displaylang=en" /></strong>http://www.microsoft.com/downloads/en/details.aspx?FamilyID=751fa0d1-356c-4002-9c60-d539896c66ce&amp;displaylang=en
</p>
<p>
 </p>
<p>After trying the site <a href="http://intranet.contoso.com">http://intranet.contoso.com</a>  in the Demo2010A machines internet browser and getting a Page cannot be displayed error, I checked my app pools, IIS web site, central admin (which worked on <a href="http://demo2010a:2010">http://demo2010a:2010</a> btw), alternate access mappings, and DNS.
</p>
<p>
 </p>
<p>I noticed some funny settings with my vm&#8217;s DNS manager on Demo2010A machine.
</p>
<p><img src="http://ericschrader.files.wordpress.com/2011/01/012711_0206_microsoftsh1.png?w=500" alt="" />
	</p>
<p>The IP&#8217;s I was seeing were 192.168.150.0 and 192.168.150.1, which I am on the 10.6.0.x network, so this was alarming to me.
</p>
<p>I called over our new IT guy and put him to work, explaining that I can access one of the applications by hostname (<a href="http://demo2010a:2010">http://demo2010a:2010</a>), but all of the alternate access mappings and DNS entries were not working.
</p>
<p>After some troubleshooting and <strong>changing the DNS entry for demo2010a and demo2010b (SEE PICTURE ABOVE) to 10.6.0.164 and 10.6.0.169 </strong>(The new 10.6.0.x IP&#8217;s were the IPs machines were both assigned from TCIP set to automatic).
</p>
<p>After I modified the DNS, I did a Command prompt <strong>ipconfig /flushdns</strong>
	</p>
<p>Following this,my coworker set the DNS under TCP/IP v4 to the <em>IP of demo2010a</em> machine (the dns server- <strong>10.6.0.169</strong>).
</p>
<p><img src="http://ericschrader.files.wordpress.com/2011/01/012711_0206_microsoftsh2.png?w=500" alt="" />
	</p>
<p>The issue was that the DNS server was inheriting from my companys DNS on the same 10.6.0.x network, instead of the contoso DNS entries on demo2010a machine.
</p>
<p>After setting Demo2010A and Demo2010B&#8217;s DNS to the local IP of demo2010a (10.6.0.169), this fixed the site. I can now access <a href="http://intranet.contoso.com">http://intranet.contoso.com</a> from the demo2010a machine. I CANNOT access this on any computer who&#8217;s DNS is not set to 10.6.0.169, as the DNS automatically obtains my company&#8217;s DNS server and settings.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=153&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2011/01/26/microsoft-sharepoint-hyper-v-virtual-machine-dns-fix/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2011/01/012711_0206_microsoftsh1.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2011/01/012711_0206_microsoftsh2.png" medium="image" />
	</item>
		<item>
		<title>SharePoint 2010 – Themes and CoreV4.css comparison technique for Developers</title>
		<link>http://ericschrader.wordpress.com/2010/09/23/sharepoint-2010-%e2%80%93-themes-and-corev4-css-comparison-technique-for-developers/</link>
		<comments>http://ericschrader.wordpress.com/2010/09/23/sharepoint-2010-%e2%80%93-themes-and-corev4-css-comparison-technique-for-developers/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 18:17:22 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://eschrader.com/2010/09/23/sharepoint-2010-%e2%80%93-themes-and-corev4-css-comparison-technique-for-developers/</guid>
		<description><![CDATA[Ever wonder how SharePoint 2010 uses CoreV4.css and Themes together to style your site? In this blog post, I hope to grab this bull by the horns and make empower you to decode this large file and create your own themes. Basically, I took CoreV4.css located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable and copied [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=141&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever wonder how SharePoint 2010 uses CoreV4.css and Themes together to style your site? In this blog post, I hope to grab this bull by the horns and make empower you to decode this large file and create your own themes.</p>
<p>Basically, I took CoreV4.css located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable and copied it locally, then attached it to my SharePoint page. <img src="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint21.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 1- Copy the original CoreV4 from the backend to a local temporary drive to modify. Lcoation: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable<br />
</strong></span></p>
<p>Save the copy to your SharePoint site in the Style Library or where you desire.</p>
<p>Open V4.master and add your CSS reference:</p>
<p>Find in V4.master at top:</p>
<p>&lt;SharePoint:CssLink runat=&#8221;server&#8221; Version=&#8221;4&#8243;/&gt;</p>
<p>&lt;SharePoint:Theme runat=&#8221;server&#8221;/&gt;</p>
<p>Add the following AFTER the above tags:</p>
<p>&lt;!&#8211;custom add themes and css &#8211;&gt;</p>
<p>&lt;SharePoint:CssRegistration runat=&#8221;server&#8221; name=&#8221;&lt;% $SPUrl:~sitecollection/Style Library/ClientName/CSS/style1.css %&gt;&#8221; After=&#8221;corev4.css&#8221;/&gt;</p>
<p>&lt;SharePoint:CssRegistration name=&#8221;/Style Library/en-us/Themable/style.css&#8221; After=&#8221;corev4.css&#8221; runat=&#8221;server&#8221;/&gt;</p>
<p>Change your paths to match. I have two tags, the first is for CSS, and the second is for Themable CSS files using themable comments.</p>
<p>Once your file (copy of Corev4.css named Style or Style1.css) is in place, we can begin modifying it.</p>
<h1>Themes:</h1>
<p>Themes in SharePoint 2010 are pretty tough. There are about 60 permutations, and you can only define about 10 of those colors.</p>
<p>Heres the table:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint22.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 2- You have seen this grid before from the Site Settings &gt; Look and Feel &gt; Themes page. The OOTB one has colors applied to each square. This image maps to the Themes page so you get an idea of what each color is called.<br />
</strong></span></p>
<p>The colors you can define in themes are:</p>
<ol>
<li><span style="font-family:Times New Roman;font-size:12pt;">Dark 1<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Light 2<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Dark 2<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 1<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 2<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 3<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 4<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 5<br />
</span></li>
<li><span style="font-family:Times New Roman;font-size:12pt;">Accent 6<br />
</span></li>
<li><a href="http://disney.com/"><span style="font-family:Times New Roman;color:blue;font-size:12pt;text-decoration:underline;">non visited link</span></a><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></li>
<li><a href="http://google.com/"><span style="font-family:Times New Roman;color:blue;font-size:12pt;text-decoration:underline;">visited link</span></a><span style="font-family:Times New Roman;font-size:12pt;"><br />
</span></li>
</ol>
<p>The rest are generated from those that you define. This includes gradient images (they use transparent PNG overlays, big plus in my book) and a lot of other images used in SharePoint.</p>
<p>I put together an Excel of OOTB CoreV4.css</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint23.png?w=500" alt="" /></p>
<p>This Excel shows all the Theme Permutations, what CSS selector in CoreV4.css uses that Theme permutation, the CSS Selector and code itself, and a guide to whether it&#8217;s a Background attribute, Color attribute, or Border attribute defined in that selector.</p>
<p>Download from blog: <a href="http://ericschrader.files.wordpress.com/2011/08/corev4-styles-calculated-no-errors_blog-export.xlsx">http://ericschrader.files.wordpress.com/2011/08/corev4-styles-calculated-no-errors_blog-export.xlsx</a></p>
<p>This is not used to modify the code (but it could be, just copy the PARSED CSS columns and paste it to a CSS file), but more as a guide to how CoreV4.css works.</p>
<p>The Green shows a match, eg. Which theme color matches to what CoreV4.css selector, and even a possible attribute. If its red, that theme or attribute was not a match in that selector. So if a theme permutation is red, then that theme color is not in that CSS tag. Pretty handy to get an idea whats in this file.</p>
<p>The numbers inside the green are just what position the theme permutation is found, eg. Hyperlink = 88 green just means that the word Hyperlink is found in that particular CSS selector at character 88. They can be ignored, but my Excel skills are lacking in that department <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Each row is a selector from CoreV4.css.</p>
<p>Each of the first 60 columns is a theme permutation, and each cell that is green is a match of that theme permutation in that selectors CSS attributes value.</p>
<p>The column after that, I totalled how many theme permutations in that row are for that selector (some have up to I think 5 theme permutations in a single selector!)</p>
<p>Then the next few columns are the CSS selector, bracket, attributes/values, then closing CSS bracket. This can be copied and pasted into a CSS file if you want, just like CoreV4.css. NOTE: I may have mis-formatted some of the CoreV4.css, so just let me know if you find a typo/bad replacement and I will recheck it).  Note also that I parsed out all themable selectors only for this Excel. My rule to parse was any selector with a comment in the attributes section. CoreV4.css is not the only file, SharePoint has a few more, but this is the big momma of CSS files.</p>
<p>The next columns are some rough CSS attibutes, Background (image or Color), Color (for fonts, etc), and Border (color, size, width, etc)</p>
<p>Thats pretty much the Excel. Just a visual display of this bad boy. Notice how line 469 of my Excel has 0 number of times for a theme found. This is because they did not replace a token in their CSS, /* [ReplaceColor(V4_THEMING_COLOR_DAR2)] */;color: #3b4f65; So I figure if this Excel can catch this, it must be pretty useful.</p>
<p>This gives you an idea for how much themes are used in SharePoint, and how you can modify pretty much everything using your own theme.</p>
<p>I ended up breaking out CoreV4.css into to parts:</p>
<ol>
<li>Uses themable CSS comments</li>
<li>Does not use themable CSS comments</li>
</ol>
<p>The themable CSS I moved to a file in the Style Library/en-us/themable directory.</p>
<p>The Non-themable CSS I keep just in the Style Library a few folders down.</p>
<p>When a theme is applied, my themable CSS is applied. When my Non-themable CSS is modified, the changes are reflected instantly on the site.</p>
<p>This allows me to make changes to normal CSS without have to re-apply my theme to the entire site for my changes to show.</p>
<p>Here is a recent project I did, here is the Themable CSS: (must have file checked in, published, and apply another theme, then the theme for the changes to be seen, its pretty crazy… Good luck, once you get it, its easy)</p>
<h2>My Themable CSS: (Style Library\en-us\Themable\Style.css)</h2>
<p><span style="font-size:8pt;">.pageTitle {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    color: #8A2A1C;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent1")] */    border-bottom: 1px #343434 dashed;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.bottomFooter, .bottomFooter a, .bottomFooter a:active, .bottomFooter a:hover, .bottomFooter a:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent6")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightsidefixed {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent5")] */    background-color:#e5dbc2<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-toplinks a.dynamic, .s4-toplinks a.dynamic:active, .s4-toplinks a.dynamic:hover, .s4-toplinks a.dynamic:link, .s4-toplinks a.dynamic:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    color: #8A2A1C;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-navitem A {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent6")] */    color: #FFFFFF !important;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">#s4-mainarea {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    border: 6px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    background-color: #EDE8E2;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.containerBackground {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    background-color: #EDE8E2;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-workspace {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    background-color: #8A281C;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body .s4-toplinks {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [RecolorImage(themeColor:"Accent2")] */    background: url(&#8220;/_layouts/images/selbg.png&#8221;) repeat-x left top;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    background-color: #f6f6f6;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    border: 5px solid #ede8e2;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn li.static &gt; .menu-item, .s4-tn li.static &gt; .menu-item:active, .s4-tn li.static &gt; .menu-item:hover, .s4-tn li.static &gt; .menu-item:link, .s4-tn li.static &gt; .menu-item:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #3b4f65;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-toplinks .s4-tn a.selected, .s4-toplinks .s4-tn a.selected:active, .s4-toplinks .s4-tn a.selected:hover, .s4-toplinks .s4-tn a.selected:link, .s4-toplinks .s4-tn a.selected:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    border-color: #91cdf2;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [RecolorImage(themeColor:"Light2")] */    background: url(&#8220;/_layouts/images/selbg.png&#8221;) repeat-x left top;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    background-color: #ccebff;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    color: #003759;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel, #s4-leftpanel a, #s4-leftpanel a:active, #s4-leftpanel a:hover, #s4-leftpanel a:link, #s4-leftpanel a:visited, #s4-leftpanel .ms-vb {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color:#FFFFFF<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel #DatePickerDiv, #s4-leftpanel #DatePickerDiv a, #s4-leftpanel #DatePickerDiv a:active, #s4-leftpanel #DatePickerDiv a:hover, #s4-leftpanel #DatePickerDiv a:link, #s4-leftpanel #DatePickerDiv a:visited, #s4-leftpanel #DatePickerDiv .ms-vb {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Dark1")] */    color:#343434<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-leftpanel {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent3")] */    background-color: #567F1A;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color:#FFFFFF<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-leftpanel-content {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2-Lightest")] */    border: 1px solid #dbddde;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root &gt; li &gt; .menu-item, .s4-qlheader, .s4-qlheader:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root ul &gt; li &gt; a {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root ul &gt; li &gt; a:hover {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql a.selected {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent4")] */    background-color: #345208;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2-Lighter")] */    border-top-color: #c6e5f8 !important;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    color: #FFFFFF !important;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-specialNavLinkList a {<br />
</span></p>
<p><span style="font-size:8pt;">    display: block;<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 3px 4px 3px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-specialNavLinkList a {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light2")] */    color: #3b4f65;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-rteStyle-ContentHeader {<br />
</span></p>
<p><span style="font-size:8pt;">-ms-name:&#8221;Content Header&#8221;;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    background-color: #841019;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">    font-size:10pt;<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight:bold;<br />
</span></p>
<p><span style="font-size:8pt;">    padding:4px 4px 5px 5px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-top:5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">    margin:0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom:5px #FFFFFF solid;<br />
</span></p>
<p><span style="font-size:8pt;"><br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-rteStyle-ContentBackground {<br />
</span></p>
<p><span style="font-size:8pt;">    -ms-name:&#8221;Content Background&#8221;;<br />
</span></p>
<p><span style="font-size:8pt;">    background-color:#fff;<br />
</span></p>
<p><span style="font-size:8pt;">    margin:0px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding:6px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-WPHeader {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Accent2")] */    background-color: #841019;<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */    color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-WPTitle, .ms-WPTitle a, .ms-WPTitle a:active, .ms-WPTitle a:hover, .ms-WPTitle a:link, .ms-WPTitle a:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */ color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-wpActive .ms-WPTitle, .s4-wpActive .ms-WPTitle a {<br />
</span></p>
<p><span style="font-size:8pt;">    /* [ReplaceColor(themeColor:"Light1")] */ color: #FFFFFF;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<h2>My recent adjacent Style1.css file (Style Library\ClientName\CSS\Style1.css)</h2>
<p><span style="font-size:8pt;">/*shell- under construction*/<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-bodyContainer {<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0 3%;<br />
</span></p>
<p><span style="font-size:8pt;">    min-width: 935px;<br />
</span></p>
<p><span style="font-size:8pt;">/*no height in ie7, ie8, for firefox set height to 100%*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-titlerow {<br />
</span></p>
<p><span style="font-size:8pt;">    border-left: 13px transparent solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*modal shell &#8211; after shell*/<br />
</span></p>
<p><span style="font-size:8pt;">.ms-dialog body #s4-bodyContainer {<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0;/*remove red background margin from popup*/<br />
</span></p>
<p><span style="font-size:8pt;">    min-width: inherit;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-dialog #s4-mainarea {<br />
</span></p>
<p><span style="font-size:8pt;">    border: 0px transparent solid; /* remove borders around content of popup*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-dialog .bottomFooter {<br />
</span></p>
<p><span style="font-size:8pt;">    display:none /* hide footer*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*shell*/<br />
</span></p>
<p><span style="font-size:8pt;">div.s4-pr {<br />
</span></p>
<p><span style="font-size:8pt;">    border-right: 0px transparent none;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*BG Logos*/<br />
</span></p>
<p><span style="font-size:8pt;">#s4-workspace &gt; div {<br />
</span></p>
<p><span style="font-size:8pt;">    background-image: url(&#8216;../Images/bg_gradient.png&#8217;);<br />
</span></p>
<p><span style="font-size:8pt;">    background-repeat: repeat-y;<br />
</span></p>
<p><span style="font-size:8pt;">    background-position: -20px top;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">#s4-workspace {<br />
</span></p>
<p><span style="font-size:8pt;">    background-image: url(&#8216;../Images/PowayBuilding.png&#8217;);<br />
</span></p>
<p><span style="font-size:8pt;">    background-repeat: no-repeat;<br />
</span></p>
<p><span style="font-size:8pt;">    background-position: -20px top;<br />
</span></p>
<p><span style="font-size:8pt;">    background-attachment: scroll;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*Header styling*/<br />
</span></p>
<p><span style="font-size:8pt;">.ms-siteactionsmenu &gt; SPAN &gt; SPAN &gt; A {<br />
</span></p>
<p><span style="font-size:8pt;">    color:#FFFFFF<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-titletext {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-titletext {<br />
</span></p>
<p><span style="font-size:8pt;">    vertical-align: bottom;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">table.s4-wpTopTable {<br />
</span></p>
<p><span style="font-size:8pt;">    margin-right: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-help {<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/* Top Nav */<br />
</span></p>
<p><span style="font-size:8pt;">.s4-title {<br />
</span></p>
<p><span style="font-size:8pt;">    overflow: visible;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-topheader2 {<br />
</span></p>
<p><span style="font-size:8pt;">    border: 0px transparent none;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn LI.dynamic &gt; .menu-item:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn LI.dynamic &gt; .menu-item:hover {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn LI.dynamic &gt; .menu-item:active {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn LI.dynamic &gt; .menu-item:link {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn LI.dynamic &gt; .menu-item {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn ul.dynamic {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 5px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom: 1px #CFAEA4 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn a:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn a:link {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn a:hover {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn a:active {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-tn a {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.menu-horizontal {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-spacing: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body .s4-toplinks {<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom: 0px solid transparent;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-toplinks .s4-tn a.selected, .s4-toplinks .s4-tn a.selected:active, .s4-toplinks .s4-tn a.selected:hover, .s4-toplinks .s4-tn a.selected:link, .s4-toplinks .s4-tn a.selected:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 4px 10px 6px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 0;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*breadcrumbs*/<br />
</span></p>
<p><span style="font-size:8pt;">.s4-title H1 A, .s4-title H2 A {<br />
</span></p>
<p><span style="font-size:8pt;">    display: inline;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs {<br />
</span></p>
<p><span style="font-size:8pt;">    min-height: inherit;<br />
</span></p>
<p><span style="font-size:8pt;">    min-height: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs h2 {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs a:link {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs a:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs a:hover {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs a:active {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs a {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.breadcrumbs {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: none;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*Left nav */<br />
</span></p>
<p><span style="font-size:8pt;">.ms-quicklaunchouter {<br />
</span></p>
<p><span style="font-size:8pt;">    width:100% /* Fixes minimum width in quick launch */<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.leftnavtop, .ms-quicklaunchouter {<br />
</span></p>
<p><span style="font-size:8pt;">    float: left;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-leftpanel {<br />
</span></p>
<p><span style="font-size:8pt;">    width: 170px; /* make sure you set the margin-left on MSO_ContentTable to this number*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*left navigation indent first level */<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel-content ul.root &gt; li.static &gt; a.static {<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom: 1px solid #ffffff;<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/* left navigation indent second level*/<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel-content ul.root &gt; li.static &gt; ul.static {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 20px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: -10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/* left navigation indent third level */<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel-content ul.root &gt; li.static &gt; ul.static &gt; li.static &gt; ul.static {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 20px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: -10px;<br />
</span></p>
<p><span style="font-size:8pt;">/* left navigation indent fourth level*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">#s4-leftpanel-content ul.root &gt; li.static &gt; ul.static &gt; li.static &gt; ul.static &gt; li.static &gt; ul.static {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 30px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: -10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql UL.root UL {<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-quickLaunch {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">body #s4-leftpanel-content {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 0px 0px 5px;<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: transparent;<br />
</span></p>
<p><span style="font-size:8pt;">    border-top-width: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-right-width: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom-width: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-left-width: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root &gt; li &gt; .menu-item, .s4-qlheader, .s4-qlheader:visited {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 1.2em;<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 3px 4px 3px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-width: 1px 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-style: solid;<br />
</span></p>
<p><span style="font-size:8pt;">    border-color: transparent;<br />
</span></p>
<p><span style="font-size:8pt;">    word-wrap: break-word;<br />
</span></p>
<p><span style="font-size:8pt;">    overflow-x: hidden;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root ul &gt; li &gt; a {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 3px 4px 4px 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-width: 1px 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    border-style: solid;<br />
</span></p>
<p><span style="font-size:8pt;">    border-color: transparent;<br />
</span></p>
<p><span style="font-size:8pt;">    overflow-x: hidden;<br />
</span></p>
<p><span style="font-size:8pt;">    display: block;<br />
</span></p>
<p><span style="font-size:8pt;">    zoom: 1;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql ul.root ul &gt; li &gt; a:hover {<br />
</span></p>
<p><span style="font-size:8pt;">    text-decoration: underline;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-ql a.selected {<br />
</span></p>
<p><span style="font-size:8pt;">    background: url(&#8220;/_layouts/images/selbg.png&#8221;) repeat-x left top;<br />
</span></p>
<p><span style="font-size:8pt;">    border-width: 0px !important;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 9px !important;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*content styling*/<br />
</span></p>
<p><span style="font-size:8pt;">#MSO_ContentTable {<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: 175px; /* Set s4-leftpanel width to equal or less than this*/;<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #EDE8E2; /*sets main area background color */<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.contentCenterRegion {<br />
</span></p>
<p><span style="font-size:8pt;">    vertical-align: top;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">ul.ms-rteStyle-ContentBackground, ol.ms-rteStyle-ContentBackground {<br />
</span></p>
<p><span style="font-size:8pt;">    list-style-position: inside; /*fix for rtf bullet points being to far to the left, also ordered lists */<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightsidefixed {<br />
</span></p>
<p><span style="font-size:8pt;">    width: 250px; /* sets right layout zone width*/;<br />
</span></p>
<p><span style="font-size:8pt;">    vertical-align: top;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">div.s4-title {<br />
</span></p>
<p><span style="font-size:8pt;">    background: transparent;<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: transparent;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-WPHeader {<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom: 5px #FFFFFF solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-WPHeader TD {<br />
</span></p>
<p><span style="font-size:8pt;">    border-bottom: transparent 0px none !important;<br />
</span></p>
<p><span style="font-size:8pt;">    border-right: transparent 0px none !important;<br />
</span></p>
<p><span style="font-size:8pt;">    border-top: transparent 0px none !important;<br />
</span></p>
<p><span style="font-size:8pt;">    border-left: transparent 0px none !important;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.s4-wpTopTable, .s4-wpActive, .ms-settingsframe {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #FFFFFF; /*make web part backgrounds white, even in edit mode*/;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-rte-wpbox {<br />
</span></p>
<p><span style="font-size:8pt;">    margin-bottom: 8px; /*add spacing below each webpart*/<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.floatleft {<br />
</span></p>
<p><span style="font-size:8pt;">    float: left;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.floatright {<br />
</span></p>
<p><span style="font-size:8pt;">    float: right;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.pageTitle {<br />
</span></p>
<p><span style="font-size:8pt;">    font-size: 20px;<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">    margin: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    width: 80%;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-top: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">    margin-left: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">    letter-spacing: 1px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.ms-WPTitle {<br />
</span></p>
<p><span style="font-size:8pt;">    font-weight: bold;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/* Style right side web parts */<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ20 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ19 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ18 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ17 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ16 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ15 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ14 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ13 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ12 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ11 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ10 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ9 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ8 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ7 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ6 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ5 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ4 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ3 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ2 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide #MSOZoneCell_WebPartWPQ1 {<br />
</span></p>
<p><span style="font-size:8pt;">    background-color: #fff;<br />
</span></p>
<p><span style="font-size:8pt;">    border: 5px #EDE8E2 solid;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.rightSide .ms-WPBody {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 10px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*News Webpart*/<br />
</span></p>
<p><span style="font-size:8pt;">.NewsArea {<br />
</span></p>
<p><span style="font-size:8pt;">    padding: 5px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.NewsDate {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 5px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*user presence icon*/<br />
</span></p>
<p><span style="font-size:8pt;">.ms-imnlink img {<br />
</span></p>
<p><span style="font-size:8pt;">    border: 0px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*user description*/<br />
</span></p>
<p><span style="font-size:8pt;">div.description {<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 17px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">/*footer styling*/<br />
</span></p>
<p><span style="font-size:8pt;">.bottomFooter {<br />
</span></p>
<p><span style="font-size:8pt;">    min-height: 44px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-top: 16px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-left: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-right: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">    clear: both;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p><span style="font-size:8pt;">.footerlinks {<br />
</span></p>
<p><span style="font-size:8pt;">    word-spacing: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">    padding-bottom: 4px;<br />
</span></p>
<p><span style="font-size:8pt;">    line-height: 14px;<br />
</span></p>
<p><span style="font-size:8pt;">}<br />
</span></p>
<p>That&#8217;s it, let me know if you have questions and I can get more detail/instructions on any part.</p>
<p>For more on how to work with CoreV4.css and create your own CSS, see my other blog post from today.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=141&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2010/09/23/sharepoint-2010-%e2%80%93-themes-and-corev4-css-comparison-technique-for-developers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint21.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint22.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1818_sharepoint23.png" medium="image" />
	</item>
		<item>
		<title>A great way to create SharePoint 2010 CSS from original CSS</title>
		<link>http://ericschrader.wordpress.com/2010/09/23/a-great-way-to-create-sharepoint-2010-css-from-original-css/</link>
		<comments>http://ericschrader.wordpress.com/2010/09/23/a-great-way-to-create-sharepoint-2010-css-from-original-css/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 17:48:14 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://eschrader.com/2010/09/23/a-great-way-to-create-sharepoint-2010-css-from-original-css/</guid>
		<description><![CDATA[Working with SharePoint 2010&#8242;s CoreV4.css is very difficult. I have developed a technique to allow developers to leverage SharePoints OOTB CoreV4.css selectors, but while not hacking together CSS selectors and dealing with !important and other CSS hacks. Here is the concept: Your SharePoint page will have 2 stylesheets on it, CoreV4.css and a new blank [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=137&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working with SharePoint 2010&#8242;s CoreV4.css is very difficult. I have developed a technique to allow developers to leverage SharePoints OOTB CoreV4.css selectors, but while not hacking together CSS selectors and dealing with !important and other CSS hacks.</p>
<p>Here is the concept:</p>
<p>Your SharePoint page will have 2 stylesheets on it, CoreV4.css and a new blank file, Custom.css. Custom.css will have the exact contents of CoreV4.css, but be attached AFTER coreV4.css so it overwrites the original. This will allow you to modify Custom.css (a copy of CoreV4.css) directly from the SharePoint Designer or the browser. You can use IE Developer Toolbar or Firebug to get the selectors SharePoint 2010 uses OOTB, search for that selector in Custom.css, modify it, then save and test. Repeat for each change.</p>
<p>Once complete, you will have CoreV4.css (original) and Custom.css, both two very large files.</p>
<p>This next step is optional, but highly recommended for Production. Take CoreV4.css, format the CSS so the selectors are each on their own line, along with their attributes all on the same line. This way you only have each line starting with the selector.</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto1.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 1- Copy the original CoreV4 from the backend to a local temporary drive to modify. Lcoation: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable<br />
</strong></span></p>
<p>Once Copied locally, you can open it in Microsoft Expression Web:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto2.png?w=500" alt="" /></p>
<p>You should see:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto3.png?w=500" alt="" /></p>
<p>From here, we need to Reformat the CSS to have each selector on its own line, eg:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto4.png?w=500" alt="" /></p>
<p>Here is how we do it:</p>
<p>In Expression Web, go to Tools&gt; Page Editor Options</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto5.png?w=500" alt="" /></p>
<p>Click on the Code Formatting Tab</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto6.png?w=500" alt="" /></p>
<p>We will modify these formatting rules to put each selector on one line.</p>
<p>Under the bottom CSS section, modify the following:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto7.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 2- No changes to Selector<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto8.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 3- Change Lines After from 1 to 0<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto9.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 4- Property Name- No Changes<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto10.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 5-Proptery Value change Lines after from 1 to 0<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto11.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 6- Closing Brace change Lines Before from 1 to 0, HIT OK<br />
</strong></span></p>
<p>Now we can format our CoreV4.css copy to have each selector on its own line:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto12.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 7- Right click on CoreV4.css in the Code view and go to Reformat CSS (Note, the file extention is .css)<br />
</strong></span></p>
<p>Your CSS should all be on one line:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto13.png?w=500" alt="" /></p>
<p>Repeat the same steps for Custom.css (figure 7 and 8 above) (the copy of CoreV4.css you have been modifying. Once Custom.css looks like above, but with your changes, we can compare the two files and extract only the changed lines as an overwritter CSS file for Corev4.css )</p>
<p>I use Beyond Compare for this next step to compare the changes. You can use any tool that allows you to compare two text files and ONLY VIEW DIFFERENCES, and ALLOWS YOU TO EXTACT (copy and paste) OUT ONLY THE CHANGED LINES!</p>
<p>In Beyond Compare, do a new TEXT compare:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto14.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 8- Click Text Compare from the button<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto15.png?w=500" alt="" /></p>
<p>Copy CoreV4.css</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto16.png?w=500" alt="" /></p>
<p>Paste on the left of the text compare:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto17.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 9- Paste on left<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto18.png?w=500" alt="" /></p>
<p>Copy Custom.css, (MAKE SURE ITS FORMATTED THE SAME AS COREv4.css, ALL SELECTORS ON OWN LINE)</p>
<p>Paste on the right side (MAKE SURE YOU ARE ON THE FIRST LINE, SCROLL TO THE TOP BEFORE YOU PASTE!) of the text compare:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto19.png?w=500" alt="" /></p>
<p>Now apply a filter to the comparison to only show changes:</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto20.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 10-Click Show Differences from the top bar.<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto21.png?w=500" alt="" /></p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 11- Uncheck Show Context (one with the up and down arrows and the red line)<br />
</strong></span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto22.png?w=500" alt="" /></p>
<p>Copy out the code on the right side with Select all, then Copy it.</p>
<p>Now you can paste this code over your Custom.css file to only have the CSS Overwritters</p>
<p style="margin-left:36pt;"><span style="font-size:8pt;">.ms-SPLink {font-family: &#8216;Arial&#8217;,'Lucida Grande&#8217;,Verdana,Arial,sans-serif; font-size: 0.8em; /* [ReplaceColor(themeColor:"Accent3-Darker")] */; color: #1A70B9;}<br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:8pt;">.ms-SPLink a:link, .ms-SPLink a:visited {/* [ReplaceColor(themeColor:"Accent3-Darker")] */ color: #000000; text-decoration: none;}<br />
</span></p>
<p>My code, I changed the Font to Arial and the font color to #000000. No need for an entire duplicate of CoreV4.css in my Custom.css, just need the overwriting different CSS.</p>
<p>Note, this file contains Themable CSS comments. For my code changes to be applied, The CSS must be embeded to my masterpage using the following tag in the header, after the other CSS Theme tags.</p>
<p>&lt;SharePoint:CssRegistration name=&#8221;/Style Library/en-us/Themable/style.css&#8221; After=&#8221;corev4.css&#8221; runat=&#8221;server&#8221;/&gt;</p>
<p> Then make sure you SAVE, Check in and publish/approve this CSS file. THEN apply a different theme, then apply back the desired theme. You CSS will now be visible. NOTE: apply themes to all subsites if you want the CSS to be visible during these steps.</p>
<p>Only do this at Export, as you want to have Custom.css a complete copy of Corev4.css during Development.</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto23.png?w=500" alt="" /></p>
<p>Hope this helps!</p>
<p>For more on modifying CoreV4.css, see my other blog post from today.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=137&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2010/09/23/a-great-way-to-create-sharepoint-2010-css-from-original-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto1.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto2.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto3.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto4.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto5.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto6.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto7.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto8.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto9.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto10.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto11.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto12.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto13.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto14.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto15.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto16.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto17.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto18.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto19.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto20.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto21.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto22.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/09/092310_1748_agreatwayto23.png" medium="image" />
	</item>
		<item>
		<title>SharePoint static 2nd level current navigation in MOSS 2007</title>
		<link>http://ericschrader.wordpress.com/2010/07/20/sharepoint-static-2nd-level-current-navigation-in-moss-2007/</link>
		<comments>http://ericschrader.wordpress.com/2010/07/20/sharepoint-static-2nd-level-current-navigation-in-moss-2007/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 21:47:51 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Navigation]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2010/07/20/sharepoint-static-2nd-level-current-navigation-in-moss-2007/</guid>
		<description><![CDATA[Summary Requirements: SharePoint MOSS 2007 Must be using a Publishing Site This post will create the SharePoint Current Navigation control that only shows the 2nd level site when browsing, and supports highlighting. The datasource comes from SharePoint as well, so everything is security trimmed, and editable in the browser. This post is for users who [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=84&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Summary<br />
</h2>
<p>Requirements:
</p>
<ul>
<li>SharePoint MOSS 2007
</li>
<li>Must be using a Publishing Site
</li>
</ul>
<p>This post will create the SharePoint Current Navigation control that only shows the 2<sup>nd</sup> level site when browsing, and supports highlighting. The datasource comes from SharePoint as well, so everything is security trimmed, and editable in the browser.
</p>
<p>This post is for users who are using SharePoint MOSS 2007 navigation on their website. If you want your current navigation to display the sites and pages under a subsite, but always keep the second level subsite on top, then this post is for you. It&#8217;s hard to explain, so reference the screenshot below:
</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/07/072010_2147_sharepoints1.png?w=500" alt="" />
	</p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 1 – Our Firm is a subsite under the root of the website. Even if I navigate to Board of Directors above, Our Firm remains at the top of the Current Navigation.<br />
</strong></span></p>
<p><strong>Sitemap data for my screenshot above:<br />
</strong></p>
<ul>
<li>
<div>Company
</div>
<ul>
<li>
<div>Our Firm
</div>
<ul>
<li>
<div>Leadership
</div>
<ul>
<li>Management Team
</li>
<li>Board of Directors
</li>
</ul>
</li>
<li>Contact Us
</li>
<li>Locations
</li>
</ul>
</li>
<li>Investment Banking
</li>
<li>Sales &amp; Training
</li>
<li>Research
</li>
</ul>
</li>
</ul>
<p><strong>Sitemap levels:<br />
</strong></p>
<ul>
<li>
<div>Top Level (root)
</div>
<ul>
<li>
<div>Second Level site
</div>
<ul>
<li>
<div>Third Level Site
</div>
<ul>
<li>Fourth Level site
</li>
<li>Fourth Level site
</li>
</ul>
</li>
<li>Third Level Site
</li>
<li>Third Level Site
</li>
</ul>
</li>
<li>Second Level site
</li>
<li>Second Level site
</li>
<li>Second Level site
</li>
</ul>
</li>
</ul>
<p>The key is that I want only each second level navigation block to appear when a user is anywhere on or under that second level site. So in my screenshot, you see Our Firm, even if you navigate to Board of Directors.
</p>
<p>This navigation also supports highlighting and pages.
</p>
<h1>Preparing the subsite (our Firm)<br />
</h1>
<p><img src="http://ericschrader.files.wordpress.com/2010/07/072010_2147_sharepoints2.png?w=500" alt="" />
	</p>
<ul>
<li>Check Show Subsites and Show Pages
</li>
<li>Under Current Navigation, select Display current, below, and siblings. (the middle radio button)
</li>
</ul>
<p>
 </p>
<h2>Now you need to adjust your current navigation code in the MASTERPAGE to only show the site you are under.<br />
</h2>
<h1>Adjusting the masterpage Current Navigation<br />
</h1>
<p>Find your PlaceHolderLeftNavBar and replace the contents with this, or you can just mimic it.<strong> Take note of the highlighted parts. These are important for this post.</strong>
	</p>
<p>Placeholders are content buckets in your masterpages, the content inside them is what is important. Just make sure you don&#8217;t have multiple of the same ID&#8217;s on the same masterpage.
</p>
<p>
 </p>
<p><strong>Here is the code:<br />
</strong></p>
<p><span style="font-family:Courier New;font-size:9pt;">&lt;asp:ContentPlaceHolder id=&#8221;PlaceHolderLeftNavBar&#8221; runat=&#8221;server&#8221;&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    &lt;!&#8211; Current Navigation &#8211;&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    &lt;!&#8211; Current Navigation &#8211;&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    <br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    &lt;SharePoint:AspMenu ID=&#8221;CurrentNav&#8221; runat=&#8221;server&#8221; datasourceID=&#8221;<span style="background-color:yellow;">SiteMapDS</span>&#8221; orientation=&#8221;Vertical&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    <span style="background-color:yellow;">StaticDisplayLevels=&#8221;4&#8243; MaximumDynamicDisplayLevels=&#8221;1&#8243;</span> StaticSubMenuIndent=&#8221;1&#8243; ItemWrap=&#8221;true&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    AccessKey=&#8221;3&#8243; CssClass=&#8221;leftNav&#8221; SkipLinkText=&#8221;&lt;%$Resources:cms,masterpages_skiplinktext%&gt;&#8221;&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;StaticHoverStyle CssClass=&#8221;LeftStaticHover&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;StaticSelectedStyle CssClass=&#8221;LeftStaticSelected&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;DynamicMenuStyle CssClass=&#8221;LeftDynamicMenu&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;DynamicMenuItemStyle CssClass=&#8221;LeftDynamicMenuItem&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">            &lt;LevelMenuItemStyles&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">                &lt;asp:menuitemstyle CssClass=&#8221;parent&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">                &lt;asp:menuitemstyle CssClass=&#8221;child&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">                &lt;asp:menuitemstyle CssClass=&#8221;leftNav3&#8243; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">                &lt;asp:menuitemstyle CssClass=&#8221;leftNav4&#8243; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">                &lt;asp:menuitemstyle CssClass=&#8221;leftNav5&#8243; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">            &lt;/LevelMenuItemStyles&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;StaticMenuStyle CssClass=&#8221;LeftStaticMenu&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;DynamicSelectedStyle CssClass=&#8221;LeftDynamicSelected&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;StaticMenuItemStyle CssClass=&#8221;LeftStaticMenuItem&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221; /&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">        &lt;DynamicHoverStyle CssClass=&#8221;LeftDynamicHover&#8221; Font-Bold=&#8221;False&#8221; Font-Italic=&#8221;False&#8221; Font-Overline=&#8221;False&#8221; Font-Strikeout=&#8221;False&#8221; Font-Underline=&#8221;False&#8221;/&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    &lt;/SharePoint:AspMenu&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    &lt;PublishingNavigation:PortalSiteMapDataSource ID=&#8221;<span style="background-color:yellow;">SiteMapDS</span>&#8221; Runat=&#8221;server&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    SiteMapProvider=&#8221;<span style="background-color:yellow;">CombinedNavSiteMapProvider</span>&#8220;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">    <span style="background-color:yellow;">StartFromCurrentNode=&#8221;True&#8221;<br />
</span></span></p>
<p><span style="font-family:Courier New;font-size:9pt;"><span style="background-color:yellow;">    StartingNodeOffset=&#8221;1&#8243; TrimNonCurrentTypes=&#8221;Page&#8221;</span>/&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:9pt;">&lt;/asp:ContentPlaceHolder&gt;<br />
</span></p>
<p>
 </p>
<p>Here is an explanation of the above code:
</p>
<div>
<table style="border-collapse:collapse;" border="0">
<col style="width:319px;" />
<col style="width:319px;" />
<tbody valign="top">
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black .5pt;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>SharePoint:AspMenu</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black .5pt;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>Creates an ASP.Net menu (html) using tables</p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>datasourceID</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>This sets the Datasource to populate the HTML. In this case, it points to the ID of the PublishingNavigation:PortalSiteMapDataSource.</p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>StaticDisplayLevels</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>How many levels to display (non flyouts) starting from the data returned. If your datasource only returns second level sites, the ASP Menu sees these as the first level.</p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>MaximumDynamicDisplayLevels</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>1 disables flyouts. 2 would have the 5<sup>th</sup> level links as a flyout.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p>
 </p>
<p>Datasource properties
</p>
<div>
<table style="border-collapse:collapse;" border="0">
<col style="width:319px;" />
<col style="width:319px;" />
<tbody valign="top">
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black .5pt;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>PublishingNavigation:PortalSiteMapDataSource</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black .5pt;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>Creates a datasource on our page. This control uses the SharePoint Navigation.</p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>ID</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>Sets the ID of this datasource for ASP.Menu  or other controls to access the data</p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>SiteMapProvider</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>There are a lot. I really like CombinedNavSiteMapProvider for this blog post. It was the best I found.  <a href="http://msdn.microsoft.com/en-us/library/ms585903.aspx">Here are a few more</a></p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>StartFromCurrnetNode</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>Not sure why, but I think this controls the highlighting of sub sites. If this is set to false, I think the returned data source does not know what site you are located in. <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.sitemapdatasource.startfromcurrentnode.aspx">More here</a></p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>StartingNodeOffset</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>This is the reason why we see the second level page at the top of our left navigation, and not the root. We trim the root, as 0 is default, but we specify 1. This trims one level off our data source. <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.sitemapdatasource.startingnodeoffset.aspx">See a full explanation here</a></p>
</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black .5pt;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>TrimNonCurrnetTypes</p>
</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black .5pt;border-right:solid black .5pt;">
<p>Since we specify pages, this removes all pages from the datasource that are not under the current site, and not below. <a href="http://msdn.microsoft.com/en-us/library/bb897657.aspx">See here for more info</a></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>
 </p>
<p>See this same table (and ALL OTHER PROPERTIES!) here: <a href="http://msdn.microsoft.com/en-us/library/bb897657.aspx">http://msdn.microsoft.com/en-us/library/bb897657.aspx</a>
	</p>
<p>
 </p>
<p>Basically, just play around with the code. You can learn a lot just modifying the above properties. I basically wanted this blog post to show a neat configuration of SharePoint navigation <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
<p>Good luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=84&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2010/07/20/sharepoint-static-2nd-level-current-navigation-in-moss-2007/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2010/07/072010_2147_sharepoints1.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/07/072010_2147_sharepoints2.png" medium="image" />
	</item>
		<item>
		<title>HTML Hyperlink tags and word-wrap padding fix</title>
		<link>http://ericschrader.wordpress.com/2010/06/10/html-hyperlink-tags-and-word-wrap-padding-fix/</link>
		<comments>http://ericschrader.wordpress.com/2010/06/10/html-hyperlink-tags-and-word-wrap-padding-fix/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 20:43:39 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2010/06/10/html-hyperlink-tags-and-word-wrap-padding-fix/</guid>
		<description><![CDATA[Recently, I noticed when I have the following code, my text wraps and ignores my padding for the second line. &#60;style&#62; .menuItemLvl2 { Padding-left: 24px; } &#60;/style&#62; &#60;div&#62;&#60;a class=menuItemLvl2 href=#&#62;Restructuring &#38; Recapitalization&#60;/a&#62;&#60;/div&#62; I wanted the hyperlink a tag to wrap and respect the padding. I also had highlighting on the A hyperlink tag for :hover [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=78&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I noticed when I have the following code, my text wraps and ignores my padding for the second line.
</p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;style&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">.menuItemLvl2 {<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">Padding-left: 24px;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;/style&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;div&gt;&lt;a class=menuItemLvl2 href=#&gt;Restructuring &amp; Recapitalization&lt;/a&gt;&lt;/div&gt;<br />
</span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli1.png?w=500" alt="" />
	</p>
<p>I wanted the hyperlink a tag to wrap and respect the padding. I also had highlighting on the A hyperlink tag for :hover state, so I coudnt use Margin-left:24px.
</p>
<p>I applied the following CSS to fix my issue: ( I only add the <span style="background-color:lime;">green highlighted</span> text to the above code)
</p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;style&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">.menuItemLvl2 {<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">Padding-left: 24px;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;background-color:lime;"><strong>Float:left;<br />
</strong></span></p>
<p><span style="font-family:Courier New;font-size:8pt;"><span style="background-color:lime;"><strong>Width:200px;</strong></span> /* Note: you cannot use 100%, as the padding pushes the element out of its container that has a width of 224px. Use container width minus padding of this element*/<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">}<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;/style&gt;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&lt;div&gt;&lt;a class=menuItemLvl2 href=#&gt;Restructuring &amp; Recapitalization&lt;/a&gt;&lt;/div&gt;<br />
</span></p>
<p><img src="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli2.png?w=500" alt="" />
	</p>
<p>And on hover: (note, I did not include the code for a:hover in this example, but just set the background-color: #666666 or whatever color)
</p>
<p><img src="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli3.png?w=500" alt="" />
	</p>
<p>Works in Firefox and IE7.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=78&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2010/06/10/html-hyperlink-tags-and-word-wrap-padding-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli1.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli2.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2010/06/061010_2043_htmlhyperli3.png" medium="image" />
	</item>
		<item>
		<title>SharePoint 2007 Branding links</title>
		<link>http://ericschrader.wordpress.com/2010/02/26/sharepoint-2007-branding-links/</link>
		<comments>http://ericschrader.wordpress.com/2010/02/26/sharepoint-2007-branding-links/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:25:16 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[SharePoint Designer]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2010/02/26/sharepoint-2007-branding-links/</guid>
		<description><![CDATA[Real World Branding with SharePoint Server 2007 Publishing Sites http://msdn.microsoft.com/en-us/library/ee354191.aspx Heather&#8217;s Base Master Page FilesBase master page files with necessary content placeholders to run a SharePoint site. All branding and added code is stripped out. CSS Reference ChartInformative chart of popular CSS classes and IDs. Design Gotcha ListList of items to watch out for when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=63&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>
<div>Real World Branding with SharePoint Server 2007 <strong>Publishing Sites</strong>
			</div>
<p><a href="http://msdn.microsoft.com/en-us/library/ee354191.aspx">http://msdn.microsoft.com/en-us/library/ee354191.aspx</a>
			</p>
</li>
<li><a href="http://www.heathersolomon.com/blog/archive/2007/01/26/6153.aspx">Heather&#8217;s Base Master Page Files</a><br />Base master page files with necessary content placeholders to run a SharePoint site. All branding and added code is stripped out.
</li>
<li><a href="http://www.heathersolomon.com/content/sp07cssreference.htm">CSS Reference Chart</a><br />Informative chart of popular CSS classes and IDs.
</li>
<li><a href="http://www.heathersolomon.com/blog/articles/SharepointDesignGotchas.aspx">Design Gotcha List</a><br />List of items to watch out for when you are rebranding SharePoint. Includes red flags for problem areas and screenshots.
</li>
<li><a href="http://www.heathersolomon.com/blog/articles/resources.aspx">SharePoint Resources</a><br />Blog posts, articles, tools, product information and more. Large resource list focused on customization, but also with many non-customization related resources
</li>
<li><a href="http://www.heathersolomon.com/blog/articles/sp07urls.aspx">URL Quick List</a><br />List of links to commonly used administrative functions.
</li>
<li>
<div><strong>SharePoint Tools for Style: How to Start Branding SharePoint<br />
</strong></div>
<p>You have a site design and your trusty copy of SharePoint Designer, but now what? In this session, we cover SharePoint branding concepts and benefits and show step by step how to create a custom master page using Microsoft Office SharePoint Designer.
</p>
<p><a href="http://www.heathersolomon.com/downloads/Solomon_AdvancedTechniques.zip">Slide Deck</a> Great slides on branding
</p>
<p>
 </p>
<p>
 </p>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=63&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2010/02/26/sharepoint-2007-branding-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>
	</item>
		<item>
		<title>XSLT Data View Web Parts in SharePoint Designer- Why changing the layout is can break your template.</title>
		<link>http://ericschrader.wordpress.com/2009/10/15/xslt-data-view-web-parts-in-sharepoint-designer-why-changing-the-layout-is-can-break-your-template/</link>
		<comments>http://ericschrader.wordpress.com/2009/10/15/xslt-data-view-web-parts-in-sharepoint-designer-why-changing-the-layout-is-can-break-your-template/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 18:02:51 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2009/10/15/xslt-data-view-web-parts-in-sharepoint-designer-why-changing-the-layout-is-can-break-your-template/</guid>
		<description><![CDATA[My last post offered clues as to why Data View web parts break. All my previous web parts were using custom Layouts to strip out all the surrounding layout tables. Here is a rough idea how the default Layout is constructed. Figure 1- The above is a default Multi-item XSLT Data View web part template [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=47&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My last post offered clues as to why Data View web parts break. All my previous web parts were using custom Layouts to strip out all the surrounding layout tables.
</p>
<p>Here is a rough idea how the default Layout is constructed.
</p>
<p><img src="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie12.png?w=500">
	</p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 1- The above is a default Multi-item XSLT Data View web part template without paging (Display all items). Notice how there is a Table Row (TR) for each data row.<br />
</strong></span></p>
<p>Normally, in the past, I did not want my data to be separated in its own table row (TR). I wanted my data to be separated with a line break, or all on the same line, or all in the same row. I would change the layout.
</p>
<p>
		<img src="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie22.jpg?w=500">
	</p>
<p><img src="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie32.jpg?w=500">
	</p>
<p>The problem with this is, after multiple re-saving of the ASPX page in SharePoint Designer, the page begins to auto insert generated code into the page or DataView web part. This causes the web part to break and you can lose your template.
</p>
<h1>The workaround:<br />
</h1>
<p>Instead of changing your layout, try to work with the existing layout. That&#8217;s it!
</p>
<p>Here is a diagram of what I wanted:
</p>
<p><img src="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie42.png?w=500">
	</p>
<p><span style="color:#4f81bd;font-size:9pt;"><strong>Figure 2- Basically, it&#8217;s the same template as above. I removed the TH text, but left the code. For the Green TD above, I used XSL:Text disable-output-escaping=yes to construct all my conditions.<br />
</strong></span></p>
<p>The above is just my example, as there is a lot of formatting. Basically I have Id&#8217;s, Classes, and Numbers I sort by and place in their own TD&#8217;s, TR&#8217;s (Every 5 cells), and headers for every certain number. Each class has its own TD. (specific to my data schema)
</p>
<p>The point I am trying to prove is that outside of the For-Each is intact. All my modifications were around this for-each, but not to my TH class, or any other template.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=47&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2009/10/15/xslt-data-view-web-parts-in-sharepoint-designer-why-changing-the-layout-is-can-break-your-template/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie12.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie22.jpg" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie32.jpg" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1802_xsltdatavie42.png" medium="image" />
	</item>
		<item>
		<title>XSLT – Data View wp- Unable to display this Web Part (only for any other user other than yourself.)</title>
		<link>http://ericschrader.wordpress.com/2009/10/15/xslt-%e2%80%93-data-view-wp-unable-to-display-this-web-part-only-for-any-other-user-other-than-yourself/</link>
		<comments>http://ericschrader.wordpress.com/2009/10/15/xslt-%e2%80%93-data-view-wp-unable-to-display-this-web-part-only-for-any-other-user-other-than-yourself/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 16:31:48 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2009/10/15/xslt-%e2%80%93-data-view-wp-unable-to-display-this-web-part-only-for-any-other-user-other-than-yourself/</guid>
		<description><![CDATA[I got the following error when developing my web part and having my manager log in to check the page. But the page worked fine for me, and was not checked out, as I was not using Publishing Features. Unable to display this Web Part. To troubleshoot the problem, open this Web page in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=39&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got the following error when developing my web part and having my manager log in to check the page. But the page worked fine for me, and was not checked out, as I was not using Publishing Features.
</p>
<blockquote><p>Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator
</p>
</blockquote>
<p><img src="http://ericschrader.files.wordpress.com/2009/10/101509_1630_xsltdatavie11.png?w=500">
	</p>
<p><strong>The Problem<br />
</strong></p>
<p>The page would load fine for me in browser. In SharePoint Designer, I would have an older data set in my data view web part. I would break the web part when I did a Refresh Data Source, so I left it as it was. I had enough data to continue building out my template.
</p>
<p>
 </p>
<p>Once I had my manager review my work on his computer, the page gave him the error Unable to display this Web Part. So, I logged in as myself (To make sure the old template was not cached on my computer) and it worked for my user.
</p>
<p>
 </p>
<p><strong>The Solution<br />
</strong></p>
<p><strong>Follow-up:</strong> This is not a solution, but a work around. Upon Re-saving the page in SPD, the error occurred once again. See future post on 10/15/09 about XSLT layouts and why they break your data view web part.
</p>
<p>At one point, I did have the page checked out, but it seem to automatically disguard it when I tried to check it back in. Really weird, so I made a copy of the Default.aspx page that contained my web part. I right clicked the copy and said Reset to Site Definition.
</p>
<p><img src="http://ericschrader.files.wordpress.com/2009/10/101509_1630_xsltdatavie21.png?w=500">
	</p>
<p>I noticed the web part was still on the page. I guess since web parts don&#8217;t support versioning, resetting the page only resets the code around web part zones. My web part was still on the copy. I suspected that if I reset the page and that it just might work now. I logged in as another user and it worked.
</p>
<p>Here are the steps:
</p>
<ol>
<li>Make a copy of the ASPX page containing your &#8220;Broken&#8221; web part
</li>
<li>Reset the COPY to Site Definition
</li>
<li>Try the newly reset page and see if it works for your users.
</li>
</ol>
<p>
 </p>
<p><strong>Summary</strong>
	</p>
<p>I have noticed a lot of XSLT web part errors. I am starting to log them in one place as an archive of solutions, rather than abandoning my web part and starting over each time I get an error.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=39&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2009/10/15/xslt-%e2%80%93-data-view-wp-unable-to-display-this-web-part-only-for-any-other-user-other-than-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1630_xsltdatavie11.png" medium="image" />

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/101509_1630_xsltdatavie21.png" medium="image" />
	</item>
		<item>
		<title>SharePoint XSLT error – Unable to display this Web Part.</title>
		<link>http://ericschrader.wordpress.com/2009/10/09/sharepoint-xslt-error-%e2%80%93-unable-to-display-this-web-part/</link>
		<comments>http://ericschrader.wordpress.com/2009/10/09/sharepoint-xslt-error-%e2%80%93-unable-to-display-this-web-part/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 19:47:59 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2009/10/09/sharepoint-xslt-error-%e2%80%93-unable-to-display-this-web-part/</guid>
		<description><![CDATA[Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator. This error could be caused by missing double quotes around your HTML markup attributes. For instance, the error below [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=32&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.
</p>
</blockquote>
<p><span style="color:black;font-family:Tahoma;font-size:8pt;">This error could be caused by missing double quotes around your HTML markup attributes. For instance, the error below is missing double quotes around the table width=&#8221;600&#8243; attribute. Simple change width=600 to width=&#8221;600&#8243; and everywhere you have an attribute value (This includes classes, etc.).<br />
</span></p>
<p><span style="color:black;font-family:Tahoma;font-size:8pt;"><br />
			<img src="http://ericschrader.files.wordpress.com/2009/10/100909_1947_sharepointx12.jpg?w=500"></span>
	</p>
<p><strong><span style="color:#4f81bd;font-size:9pt;">Figure 1- </span><span style="color:black;font-family:Tahoma;font-size:8pt;">Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.<br />
</span></strong></p>
<p>If you have seen this error, there might be a very simple solution.
</p>
<h1>The Solution:<br />
</h1>
<p>Make sure all HTML template attribute values are contained in double quotes (eg. &#8220;value&#8221; and not just value.).
</p>
<p>In my above example, I modified a Table tag inside my body template of the Data View web part. I replaced &lt;table width=&#8221;600&#8243;&gt; with &lt;table width=600&gt; and got the above error. This happens with classes and all HTML tag attributes (class=&#8221;Testing&#8221; is valid for an XSLT template in SharePoint, whereas class=testing causes the Unable to display this Web Part error.
</p>
<p>This error is really broad, and I&#8217;m sure it won&#8217;t help everyone, but it&#8217;s a good start and easy fix for some situations.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=32&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2009/10/09/sharepoint-xslt-error-%e2%80%93-unable-to-display-this-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>

		<media:content url="http://ericschrader.files.wordpress.com/2009/10/100909_1947_sharepointx12.jpg" medium="image" />
	</item>
		<item>
		<title>SharePoint designer – How to fix XSL Data View error: “Unable to display this Web Part”</title>
		<link>http://ericschrader.wordpress.com/2009/10/08/sharepoint-designer-%e2%80%93-how-to-fix-xsl-data-view-error-%e2%80%9cunable-to-display-this-web-part%e2%80%9d/</link>
		<comments>http://ericschrader.wordpress.com/2009/10/08/sharepoint-designer-%e2%80%93-how-to-fix-xsl-data-view-error-%e2%80%9cunable-to-display-this-web-part%e2%80%9d/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 19:12:43 +0000</pubDate>
		<dc:creator>ericschrader</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Designer]]></category>

		<guid isPermaLink="false">http://ericschrader.wordpress.com/2009/10/08/28/</guid>
		<description><![CDATA[I found an interesting thing about the error message I was getting with SharePoint Designer. The error is: &#8220;Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as FrontPage. If the problem persists, contact your Web server administrator&#8221; I had a complicated [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=28&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found an interesting thing about the error message I was getting with SharePoint Designer. The error is:
</p>
<p><em>&#8220;Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as FrontPage. If the problem persists, contact your Web server administrator&#8221;<br />
</em></p>
<p> I had a complicated Data view web part that I did not want to recreate.
</p>
<p><strong>The Solution:</strong>
	</p>
<p>Open the aspx file in notepad from SharePoint Designer. If you notice a bunch of HTML markup formatted as &#8220;&amp;gt;&#8221; etc, then open the file normally in SharePoint designer Code View. Copy ALL the code and paste it into Notepad. Copy the code from notepad and replace your code view text. Save and view in browser. No more XSL DATA VIEW ERRORS!
</p>
<p>The code view actually contains a rich text type of rendering. When you copy it out and paste it in notepad, it loses all of the special formatting. This allows the page to render correctly.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ericschrader.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ericschrader.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ericschrader.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ericschrader.wordpress.com&amp;blog=9185710&amp;post=28&amp;subd=ericschrader&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ericschrader.wordpress.com/2009/10/08/sharepoint-designer-%e2%80%93-how-to-fix-xsl-data-view-error-%e2%80%9cunable-to-display-this-web-part%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e46c4d77960c180a936596c439c3f24?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ericschrader</media:title>
		</media:content>
	</item>
	</channel>
</rss>
