<?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/"
	>

<channel>
	<title>Seven User Experience</title>
	<atom:link href="http://www.sevenux.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sevenux.com</link>
	<description></description>
	<lastBuildDate>Sun, 20 Nov 2011 03:01:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Add Border to Web-Part Zone in SharePoint 2010 Branding</title>
		<link>http://www.sevenux.com/add-border-to-web-part-zone-in-sharepoint-2010/</link>
		<comments>http://www.sevenux.com/add-border-to-web-part-zone-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 20:33:09 +0000</pubDate>
		<dc:creator>timhjellum</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Cascading Style Sheet]]></category>
		<category><![CDATA[User-Interface]]></category>
		<category><![CDATA[Web Part]]></category>

		<guid isPermaLink="false">http://www.sevenux.com/?p=50</guid>
		<description><![CDATA[The following branding tip will allow you to add a border to all the SharePoint 2010 web-part zones as long ...]]></description>
			<content:encoded><![CDATA[<p>The following branding tip will allow you to add a border to all the SharePoint 2010 web-part zones as long as they have a web part. If the web-part zone is empty, the border will not display.</p>
<p>Below is the browser rendered HTML of a SahrePoint 2010 web-part zone <strong>without</strong> a web part. As you can see, there is an empty table cell with a class attribute of <code>class="wp-container"</code>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></pre></td></tr></table></div>

<p>Below is the browser rendered HTML of a SharePoint 2010 web-part zone <strong>with</strong> a web part. We want to apply the border to the nested table after the cell with the <code>class="wp-container"</code>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></pre></td></tr></table></div>

<p>This can be accomplished one of two ways depending on the browser support requirements. If you have the luxury of NOT supporting Internet Explorer 6 browser users, or you just don&#8217;t care about IE6 browser users, the following CSS code snippet will suffice:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* assign the style to the table element that are children of div.wp-container (not supported by IE6) */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> <span style="color: #00AA00;">&gt;</span> table <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you want a more browser optimized solution that includes IE6 support, the following should work for you:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* assign the style to the table element that are a direct descendent of div.wp-container */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> table <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* stop assigning this style to all other descendent of div.wp-container */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table table table <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sevenux.com/add-border-to-web-part-zone-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printer Friendly Pages &#8211; SharePoint 2010</title>
		<link>http://www.sevenux.com/printer-friendly-pages-sharepoint-2010/</link>
		<comments>http://www.sevenux.com/printer-friendly-pages-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 04 May 2011 18:52:03 +0000</pubDate>
		<dc:creator>timhjellum</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[User-Experience Design (UX)]]></category>

		<guid isPermaLink="false">http://www.sevenux.com/?p=33</guid>
		<description><![CDATA[There&#8217;s lots of web sites out there that have great write-ups regarding leveragine Cascading Style Sheets (CSS) to create printer-friendly ...]]></description>
			<content:encoded><![CDATA[<p>
There&#8217;s lots of web sites out there that have great write-ups regarding leveragine Cascading Style Sheets (CSS) to create printer-friendly web pages. Specifically <a href="http://www.alistapart.com/articles/goingtoprint/" target="_blank">A List Apart: Going To Print <em>by</em> Eric Meyer</a>.  The following leverages the same techniques within the <a href="http://www.alistapart.com/" target="_blank">A List Apart</a> website and incorporates the native SharePoint 2010 mark-up top create browser printer friendly pages.
</p>
<h2>Step 1</h2>
<p>
Determine where your CSS snippet will go. There&#8217;s lots of option for you to choose from depending on how your SharePoint site is configured.
</p>
<ol>
<li>I usually create a custom CSS, which overides the CORE.css, and then place the CSS snippet within the custom CSS. Say for example my custom CSS is called custom.css.  Within this CSS I have styles that overide the SharePoint styles defined in the CORE.css. To add the printer-friendly CSS snippet into an existing CSS, you simply add a:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@media print {</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>And within the media print brackets you nest your printer friendly class definitions (which we will discuss in Step 2.</li>
<li>You can also create a seperate CSS file and call it, for example, print.css and reference it from either the master-page or page-layout as needed. <a href="http://erikswenson.blogspot.com/2010/01/sharepoint-2010-css-references-in.html" target="_blank">Eric Swenson&#8217;s blog</a> outlines how to reference custom CSS from SharePoint 2010 very nicely.
<p>Unfortunately Microsoft doesn&#8217;t allow us to define the <a href="http://www.w3.org/TR/CSS2/media.html" target="_blank">media types</a> withing the CSS Registration, therefore one must use the more traditional method of linking to the printer friendly CSS. Below is an example of referencing the CSS from the <strong>Style Library</strong> at the site-collection root:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;SharePoint:CssRegistration <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;% $SPUrl:~sitecollection/Style Library/Custom.css %&gt;</span></span>&quot; After=&quot;corev4.css&quot; runat=&quot;server&quot; /&gt;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://YourSiteName/Style%20Library/Print.css&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;print&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></td></tr></table></div>

</li>
</ol>
<h2>Step 2</h2>
<p>
Once you have determined the best way to reference the printer-friendly CSS snippet we need to make the page printer friendly by hiding the page elements that we DON&#8217;T want to print. Coincidentally SharePoint has a class defined that already does this for us.  You see, SharePoint hides certain elements on the master page when that master page us used for dialogue boxes.  The style attribute is: <strong>s4-notdlg</strong>. The first thing we need to do is hide all elements that have the class defined as s4-notdlg.
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* for placement within an existing CSS */</span>
<span style="color: #a1a100;">@media print {</span>
    <span style="color: #6666ff;">.s4-notdlg</span> <span style="color: #00AA00;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
    <span style="color: #00AA00;">&#125;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* for placement within a print only CSS */</span>
<span style="color: #6666ff;">.s4-notdlg</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>You can also add this class definition into any custom elements you would like to hide.  For example, let&#8217;s say you added a footer to the bottom of your pages.  The footer is defined within the HTML as:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;div class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span><span style="color: #00AA00;">&gt;</span>
...
&lt;/div<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p>You can add the s4-notdlg into the footer definition which will then hide it when you print the page</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;div class<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;footer s4-notdlg&quot;</span><span style="color: #00AA00;">&gt;</span>
...
&lt;/div<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<h2>Step 3</h2>
<p>
Lastly we need to stylize the output so that it&#8217;s printer friendly.
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&nbsp;
<span style="color: #808080; font-style: italic;">/* convert font to printer friendly points */</span>
body <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12pt</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#s4-workspace</span><span style="color: #00AA00;">,</span>
<span style="color: #cc00cc;">#s4-bodyContainer</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span> !important<span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#520</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">transparent</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:link</span><span style="color: #3333ff;">:after</span><span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:visited</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot; (&quot;</span> attr<span style="color: #00AA00;">&#40;</span>href<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;) &quot;</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">90%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #00AA00;">&#91;</span>href<span style="color: #00AA00;">^=</span><span style="color: #ff0000;">&quot;/&quot;</span><span style="color: #00AA00;">&#93;</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot; (attr(href) &quot;</span><span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;;
}</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sevenux.com/printer-friendly-pages-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stylize the Tag Cloud Web Part in SharePoint 2010</title>
		<link>http://www.sevenux.com/stylize-the-tag-cloud-web-part-in-sharepoint-2010/</link>
		<comments>http://www.sevenux.com/stylize-the-tag-cloud-web-part-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 16:14:34 +0000</pubDate>
		<dc:creator>timhjellum</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Cascading Style Sheet]]></category>
		<category><![CDATA[Tag Cloud]]></category>
		<category><![CDATA[Web Part]]></category>

		<guid isPermaLink="false">http://www.sevenux.com/?p=22</guid>
		<description><![CDATA[The OOTB tag cloud web part in SharePoint 2010 leaves much to be desired asthetically speaking. The problem is that there's not a lot of look-and-feel settings within the edit web part configuration.]]></description>
			<content:encoded><![CDATA[<p>
The OOTB tag cloud web part in SharePoint 2010 leaves much to be desired asthetically speaking. The problem is that there&#8217;s not a lot of look-and-feel settings within the edit web part configuration. Additionally, the .webpart file still does not allow you to add a class property. There&#8217;s really not much you can easily do to uniquely identify the web part on the page and apply a style specifically to the tag cloud web part. Or is there?
</p>
<p style="text-align: center">
<!-- [add image] -->
</p>
<p>
The solution is simple enough and I&#8217;m sure there&#8217;s another 1,000 ways to skin-the-cat as they say. Here&#8217;s what I did. Edit the web part properties and set the web part height to something unique. I decided to set the unit of measurements to points and I made the height 200 points. You may have to experiment with the height in order to get it the height you desire.
</p>
<p>
After you apply the settings, if you were to view the rendered HTML in a browser you would find a div (with all the rif-raf omitted from this example) as follows:</p>
<p>
Next I open my Cascading Style sheet (CSS) file and I add an attribute selector method. In this case I&#8217;m going to match any div element whose &#8220;style&#8221; attribute value is a list of space-separated values, one of which is exactly equal to &#8220;warning&#8221;.
</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div<span style="color: #00AA00;">&#91;</span>style~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;200pt&quot;</span><span style="color: #00AA00;">&#93;</span> a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span>
div<span style="color: #00AA00;">&#91;</span>style~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;200pt&quot;</span><span style="color: #00AA00;">&#93;</span> a<span style="color: #3333ff;">:active</span><span style="color: #00AA00;">,</span>
div<span style="color: #00AA00;">&#91;</span>style~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;200pt&quot;</span><span style="color: #00AA00;">&#93;</span> a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;Lucida Sans&quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">700</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1em</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">word-spacing</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #00AA00;">&#91;</span>style~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;200pt&quot;</span><span style="color: #00AA00;">&#93;</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#454545</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #00AA00;">&#91;</span>style~<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;200pt&quot;</span><span style="color: #00AA00;">&#93;</span> <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>
A few points. SharePoint will automatically add a <code>;</code> to the height of the div as follows: <code>height: 200pt;</code>. However, in the CSS the <code>div[style~="200pt"]</code> does not require the <code>;</code> and infact will not work if you retain the <code>;</code>.
</p>
<p style="text-align: center">
<!-- [add image] --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenux.com/stylize-the-tag-cloud-web-part-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Border To Web Part Zone SharePoint 2010</title>
		<link>http://www.sevenux.com/add-border-to-web-part-zone-sharepoint-2010/</link>
		<comments>http://www.sevenux.com/add-border-to-web-part-zone-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 15:54:15 +0000</pubDate>
		<dc:creator>timhjellum</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Cascading Style Sheet]]></category>
		<category><![CDATA[User-Interface]]></category>
		<category><![CDATA[Web Part]]></category>

		<guid isPermaLink="false">http://www.sevenux.com/?p=20</guid>
		<description><![CDATA[The following will allow you to add a border to all the web part zones as long as they have ...]]></description>
			<content:encoded><![CDATA[<p>The following will allow you to add a border to all the web part zones as long as they have a web part. If the web part zone is empty, the border will not display.</p>
<p style="text-align: center;"><!-- [add image] --></p>
<p>Below is the browser rendered HTML of a web part zone without a web part. As you can see, there is an ampty table cell with a class attribute of <code>class="wp-container</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Rendered web part zone without a web part --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></pre></div></div>

<p>Below is the browser rendered HTML of a web part zone with a web part. We want to apply the border to the nested table after the cell with the <code>class="wp-container</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Rendered web part zone with a web part --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tbody</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">table</span>&gt;</span></pre></div></div>

<p>This can be accomplished one of two ways depending on the browser support requirements. If you have the luxury of NOT supporting Internet Explorer 6 browser users, or you just don&#8217;t care about IE6 browser users, the following CSS code snippet will suffice:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* assign the style to the table element that are children of div.wp-container (not supported by IE6) */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> &amp;gt<span style="color: #00AA00;">;</span> table <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you want a more browser optimized solution that includes IE6 support, the following should work for you:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* assign the style to the table element that are a direct descendent of div.wp-container */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> table <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* stop assigning this style to all other descendent of div.wp-container */</span>
&nbsp;
div<span style="color: #6666ff;">.wp-container</span> table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table table<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.wp-container</span> table table table table table <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sevenux.com/add-border-to-web-part-zone-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIXED: The iTunes application could not be opened. You do not have enough access privilege for this operation</title>
		<link>http://www.sevenux.com/fixed-the-itunes-application-could-not-be-opened-you-do-not-have-enough-access-privilege-for-this-operation/</link>
		<comments>http://www.sevenux.com/fixed-the-itunes-application-could-not-be-opened-you-do-not-have-enough-access-privilege-for-this-operation/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 22:31:13 +0000</pubDate>
		<dc:creator>timhjellum</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.sevenux.com/?p=17</guid>
		<description><![CDATA[I came across this error recently and after some experimentation I finally fixed it. I&#8217;m not sure what has caused ...]]></description>
			<content:encoded><![CDATA[<p>I came across this error recently and after some experimentation I finally fixed it.  I&#8217;m not sure what has caused the issue but as I understand there are some issues with iTunes and Windows 7 and maybe the Windows 7 &#8211; 64 bit.</p>
<p>It seems that the issue is not with the iTunes permissions but rather with the permissions set on the Music folder.</p>
<p>Here’s what I did to fix it. First I did check the permissions of the iTunes application executable.</p>
<ul>
<li>Locate the iTunes.exe  application within this folder: C:\Program Files (x86)\iTunes\iTunes (Application)</li>
<li>Right+click and select Properties.</li>
<li>Within Properties select Security.</li>
<li>Make sure that the Allow is checked for the SYSTEM, Administrators and Users (Special permissions does not need to be checked).</li>
<li>Click OK</li>
</ul>
<p>The next step is to locate the Music folder and update the security setting on this folder.</p>
<ul>
<li>Locate the Music folder within Libraries or C:\Users\{account}\My Music.</li>
<li>Right+click this folder and select Properties.</li>
<li>Within Properties select Security.</li>
<li>Make sure that the Allow is checked for the SYSTEM, Administrators and Users (Special permissions does not need to be checked).</li>
<li>Click OK</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sevenux.com/fixed-the-itunes-application-could-not-be-opened-you-do-not-have-enough-access-privilege-for-this-operation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

