<?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>Sphaerula &#187; WordPress</title>
	<atom:link href="http://sphaerula.com/wordpress/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://sphaerula.com/wordpress</link>
	<description>by Conrad Halling</description>
	<lastBuildDate>Wed, 20 Jul 2011 01:11:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>On Becoming a WordPress Master</title>
		<link>http://sphaerula.com/wordpress/computing/on-becoming-a-wordpress-master/</link>
		<comments>http://sphaerula.com/wordpress/computing/on-becoming-a-wordpress-master/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 03:30:41 +0000</pubDate>
		<dc:creator>Conrad Halling</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sphaerula.com/wordpress/computing/on-becoming-a-wordpress-master/</guid>
		<description><![CDATA[I hope I won&#8217;t write too many posts about the mechanics of blogging, but I have spent the entire day studying Cascading Style Sheets: The Definitive Guide, 2nd Edition, by Eric A. Meyer, in an effort to solve some minor &#8230; <a href="http://sphaerula.com/wordpress/computing/on-becoming-a-wordpress-master/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I hope I won&#8217;t write too many posts about the mechanics of blogging, but I have spent the entire day studying <a href="http://www.oreilly.com/catalog/css2/" target="_blank"><em>Cascading Style Sheets: The Definitive Guide, 2nd Edition</em></a>, by Eric A. Meyer, in an effort to solve some minor infelicities with the <a title="WordPress › Blog Tool and Weblog Platform" href="http://wordpress.org/" target="_blank">WordPress</a> theme I&#8217;ve been using.</p>
<p>The theme used for this site is based on <a title="Unlimited 1.0 from Land of Free WordPress Themes, by Sadish Bala" href="http://wpthemeland.com/themes/unlimited/" target="_blank">Unlimited 1.0</a>, by <a title="Sadish.NET" href="http://sadish.net/" target="_blank">Sadish Bala</a>. I licensed the Unlimited 1.0 theme for $20 and then began modifying it, mostly by changing the style sheet and providing a new logo image.</p>
<p>Today I discovered that the theme did not handle font-resizing well. For example, a Firefox user on a Mac OS X computer can use command-+ to increase the size of the fonts on a web page. I find that when my eyes get tired, the easiest way to ease them is to enlarge the fonts on the computer screen.</p>
<p>The Unlimited 1.0 theme was designed to use a static width of 900px. When the user enlarges fonts on a static-width page, the structure of the page begins to break down as the browser attempts to render the larger text in an unchanging region. The solution to this problem is to build flexibility into the web page so that when the user enlarges the font, the page is also enlarged to make more room. The way this is done is to specify widths of div elements using em units instead of px units. One em unit corresponds to the height of the letters of the font, so when the size of the font increases, the length of one em also increases, and as a consequence the width of the div element also increases.</p>
<p>I changed the width of the entire page to 70em, with the left column set to 52em total width and the right column to 18em total width. I also fixed minor problems with the menu and footer so that they would resize themselves, too.</p>
<p>If you care to experiment with a standards-compliant browser such as Firefox 2.0 or Safari 3.0, you will see that the web pages for my blog now resize nicely when you make the fonts larger or smaller.</p>
<p>I am also finicky about compliance with XHTML standards, and I discovered that the Links widget provided with WordPress creates multiple li elements with the same ID when you have more than one category in your blogroll. I replaced that widget with the <a title="Moho » LinkBlock" href="http://moho.optera.net/projects/wordpress/linkblock/" target="_blank">LinkBlock plugin</a> written by M. Holger. The LinkBlock plugin allows you to create up to nine blogroll-style widgets in your sidebar. I needed this because I have a blogroll, a podcast roll, and a website roll. The LinkBlock plugin handles the IDs correctly so that an XHTML validator does not complain.</p>
<p>Everyone knows that there are three generic font families that can be used in CSS, serif, sans-serif, and monospace. What I learned today is that there are two more generic font families, cursive and fantasy. This is what these look like:</p>
<p style="font-family: cursive">font-family: cursive<br />
Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam&#8230;</p>
<p style="font-family: fantasy">font-family: fantasy<br />
Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam&#8230;</p>
<p>A note: <em><a href="http://www.oreilly.com/catalog/csstdg3/" target="_blank">CSS, The Definitive Guide, 3rd Edition</a></em>, by Eric A. Meyer, was published in November, 2006. My experience with buying O&#8217;Reilly books is that as soon as I buy one, a new edition is released one or two months later.</p>
<p>Note added on March 4, 2008:</p>
<p>On my Mac OS X computer, the paragraph styled with the cursive font is displayed using Apple Chancery by both Firefox 2.0.0.12 and Safari 3.0.4. (Apple Chancery is the font I used to create the logo for this site.) The paragraph styled with the fantasy font is displayed using Papyrus.</p>
<p>Under Windows XP, the results are different. Firefox 2.0.0.12 uses Comic Sans MS for cursive and Calibri for fantasy. Internet Explorer 6.0.2900 also uses Comic Sans MS for cursive but Algerian, an all upper-case font, for fantasy.</p>
<p>I expect other variations for browsers under Windows Vista and Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://sphaerula.com/wordpress/computing/on-becoming-a-wordpress-master/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

