<?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>Pearl Wisdom &#187; CSS</title>
	<atom:link href="http://blog.pearlcrescent.com/categories/css/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.pearlcrescent.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 21:21:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Customizing Pearl Comments using CSS</title>
		<link>http://blog.pearlcrescent.com/archives/34</link>
		<comments>http://blog.pearlcrescent.com/archives/34#comments</comments>
		<pubDate>Fri, 19 May 2006 20:16:02 +0000</pubDate>
		<dc:creator>Kathleen Brade</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Pearl Comments]]></category>

		<guid isPermaLink="false">http://blog.pearlcrescent.com/?p=34</guid>
		<description><![CDATA[One of the most requested features for Pearl Comments is to the capability to control how comments are displayed in the sidebar and on the page. As we already mentioned , in the 1.5 release of Pearl Comments for Firefox you can control the appearance of the comments using CSS.]]></description>
			<content:encoded><![CDATA[<p>One of the most requested features for Pearl Comments is to the capability to control how comments are displayed in the sidebar and on the page.  As we <a href="/archives/33">already mentioned</a>, in the 1.5 release of Pearl Comments for Firefox (and other Mozilla-based browsers) you can control the appearance of the comments using CSS.  Most of the elements we use to render comments have CSS classes assigned to them.</p>
<p>All Mozilla-based browsers allow users to customize the display of web pages via a configuration file named userContent.css.  To customize Pearl Comments, you add CSS rules to that same file. The first step is to find your profile folder.  Inside the profile folder, you will find a folder named chrome.  Inside the chrome folder you will need to create a text file named userContent.css (if that file already exists you can simply add more CSS rules to it).  There is <a href="http://www.mozilla.org/support/firefox/edit">detailed information</a> available on mozilla.org&#8217;s site.  Remember to restart your web browser after changing the userContent.css file.</p>
<p>Here is a diagram that shows the classes you can use to customize the sidebar display:</p>
<p><img src="http://pearlcrescent.com/images/blog/css-sb-callout.png" alt="Pearl Comments sidebar CSS classes" /></p>
<p>Additional notes: the comment text is contained within an iframe, and the body of that iframe has the class PearlCommentSBBody.  Also, if a comment has a status such as &#8220;In Progress&#8221; an additional class is assigned to its PearlComment element.  The additional classes are:</p>
<ul>
* PearlCommentStatusInProgress<br />
* PearlCommentStatusCompleted<br />
* PearlCommentStatusClosed
</ul>
<p>Here are some examples that demonstrate how to customize the display of comments in the sidebar:</p>
<p>To hide the comment text, add this rule to your userContent.css file:<br />
<code><strong>.PearlCommentsSidebar .PearlCommentFrame { display: none; }</strong></code></p>
<p>To hide the topics, add this rule:<br />
<code><strong>.PearlCommentsSidebar .PearlCommentsTopic { display: none !important; }</strong></code></p>
<p>To display all text using a 9pt font, add these two rules:<br />
<code><strong>.PearlCommentsSidebar * { font-size: 9pt !important; }</strong></code><br />
<code><strong>.PearlCommentSBBody { font-size: 9pt !important; }</strong><br />
</code></p>
<p>If you want to use black text for the date and author (instead of the medium gray color used by default), add a rule like this one:<br />
<code><strong>.PearlCommentsSidebar .PearlCommentsDateAndAuthor { color: black !important; }</strong></code></p>
<p>To show &#8220;In Progress&#8221; comments on a light blue background, use:<br />
<code><strong>.PearlCommentsSidebar .PearlCommentStatusInProgress { background-color: rgb(0,255,255) !important; }</strong></code></p>
<p>Similar techniques are used to customize the display of comments that are shown on web pages.  Here is a diagram that shows the classes you can use:</p>
<p><img src="http://pearlcrescent.com/images/blog/css-onpage-callout.png" alt="Pearl Comments Page CSS classes" /></p>
<p>Additional notes: the comment text is contained within an iframe, and the body of that iframe has the class PearlCommentNoteBody.  Also, if a comment has a status such as &#8220;In Progress&#8221; one of the status classes mentioned earlier is added to the PearlCommentNote elements as an additional class.  </p>
<p>For example, if you&#8217;d like &#8220;Completed&#8221; comments shown on web pages to have a white background instead of a green one, add this rule to your userContent.css file:<br />
<code><strong>.PearlCommentNote.PearlCommentStatusCompleted { background-color: white !important; }</strong></code></p>
<p>To display topics in blue, add:<br />
<code><strong>.PearlCommentNote .PearlCommentsTopic { color: blue !important; }</strong></code></p>
<p>You can also control the appearance of the icons that shown on web pages.  By default, they are somewhat transparent (opacity: 0.3).  To remove the transparency entirely, add this rule to your userContent.css file:<br />
<code><strong>.PearlCommentIcon { opacity: 1.0 !important; }</strong></code></p>
<p>We plan to provide more extensive documentation soon, but this should get you started.  If you want to tweak something and cannot figure out how, do not hesitate to <a href="http://pearlcrescent.com/pearlcomments/support/">ask us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearlcrescent.com/archives/34/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Site Improvement</title>
		<link>http://blog.pearlcrescent.com/archives/15</link>
		<comments>http://blog.pearlcrescent.com/archives/15#comments</comments>
		<pubDate>Tue, 08 Nov 2005 16:28:49 +0000</pubDate>
		<dc:creator>Mark Smith</dc:creator>
				<category><![CDATA[Cool Tools]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://blog.pearlcrescent.com/?p=15</guid>
		<description><![CDATA[When working on our own web site and giving advice to our friends, a few resources keep bubbling to the top. What resources do you rely on to help you create or improve a web site?]]></description>
			<content:encoded><![CDATA[<p>When working on <a href="http://pearlcrescent.com/">our own web site</a> and giving advice to our friends, a few resources keep bubbling to the top.</p>
<p>Andy King from <a href="http://WebSiteOptimization.com">Web Site Optimization</a> has a neat online tool called the <a href="http://WebPageAnalyzer.com">Web Page Analyzer</a> that looks at a live site and provides advice to help you reduce page load time and increase usability.  Definitely recommended.  Andy also is the author of the book <em>Speed Up Your Site</em>.</p>
<p>We always check our pages by running them through the W3C&#8217;s <a href="http://validator.w3.org/">Markup Validation Service</a> (works for HTML, XHTML, CSS, and probably more document types).  For Atom and RSS feeds, try <a href="http://feedvalidator.org/">FEED Validator</a>.  Another great informative site is <a href="http://webstandards.org/">The Web Standards Project</a>.  Thankfully most end users have left the older &#8220;4.x&#8221; browsers behind and are using modern browsers that provide good support for web standards.</p>
<p>Which brings us to CSS (cascading style sheets). Like most people today, we use CSS extensively for page layout, rollover effects, and so on.  We often go to the <a href="http://www.w3.org/Style/CSS/">W3C CSS standards site</a> (the horses mouth, so to speak).  Eric Meyer is a CSS guru who has <a href="http://EricMeyerOnCSS.com/">an informative site</a> (he is also the author of the books <em>Eric Meyer on CSS</em> and <em>More Eric Meyer on CSS</em>).  And when we need inspiration we click on some of the appealing designs over at the <a href="http://www.csszengarden.com/">css Zen Garden</a>.</p>
<p>CSS-centric sites tend to be treated well by the search engines too.  Search engine marketing is a huge, evolving area that is very important for a lot of web sites.   Some of the resources we like are <a href="http://www.seotoday.com/">SEO Today</a> and <a href="http://searchenginewatch.com/">Search Engine Watch</a>.  One of the leading search engine marketing companies, Oneupweb, also has <a href="http://www.oneupweb.com/search-marketing-results/white-papers.htm">a lot of good information</a> on their site. </p>
<p>What resources do you rely on to help you create or improve web sites?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearlcrescent.com/archives/15/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

