<?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>WP First Aid &#187; CSS</title>
	<atom:link href="http://wpfirstaid.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpfirstaid.com</link>
	<description>It&#039;s WordPress ... anything is possible!</description>
	<lastBuildDate>Tue, 17 Jan 2012 16:47:01 +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>Strike Through Text</title>
		<link>http://wpfirstaid.com/2010/04/strike-through-text/</link>
		<comments>http://wpfirstaid.com/2010/04/strike-through-text/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 14:24:00 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[del]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[strikethrough]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=522</guid>
		<description><![CDATA[How to create a strike-through text effect with an HTML tag or CSS.]]></description>
			<content:encoded><![CDATA[<p>A simple how-to for creating a strike-through text effect with an HTML tag or CSS.</p>
<p><del datetime="2010-04-15T13:41:32+00:00">Strike-through text</del> using the &lt;del&gt; tag.</p>
<p>OK, that was really easy. Here is a reference at <a href="http://www.w3schools.com/tags/tag_del.asp">W3Schools</a> that goes into all the details.</p>
<p>If you are using <a href="http://wordpress.org/">WordPress</a> you will find the <del>del</del> button on the HTML editor screen. Of course the editor button conveniently drops a date and time stamp attribute into the &lt;del&gt; tag as well, so the above line looks like this <em>under the page:</em></p>
<pre class="brush: plain; light: true; title: ; notranslate">&lt;del datetime=&quot;2010-04-15T13:41:32+00:00&quot;&gt;Strike-through text&lt;/del&gt;</pre>
<p>The <del>ABC</del> button of the visual editor uses inline CSS to create the strike-through effect. Here is an example of what the above line would look like <em>under the page:</em></p>
<pre class="brush: plain; light: true; title: ; notranslate">&lt;span style=&quot;text-decoration: line-through;&quot;&gt;Strike-through text&lt;/span&gt;</pre>
<p>To see an example of how strike-through text can be used feel free to read the latest revision of <a href="http://wpfirstaid.com/2010/03/wordpress-3-0-navigation-menu-styles/">WordPress 3.0 Navigation Menu Styles</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/04/strike-through-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Navigation Menu Styles</title>
		<link>http://wpfirstaid.com/2010/03/wordpress-3-0-navigation-menu-styles/</link>
		<comments>http://wpfirstaid.com/2010/03/wordpress-3-0-navigation-menu-styles/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 14:19:05 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[register_sidebar]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp_nav_menu]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=418</guid>
		<description><![CDATA[A list of WordPress version 3.0 Navigation Menu default widget, and wp_nav_menu() function, generated CSS style elements.]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s jump right in &#8230;</p>
<p>Using the default definition from the <em><a href="http://codex.wordpress.org/Function_Reference/register_sidebar">register_sidebar()</a></em> function found in <em>../wp-includes/widgets.php</em> of WordPress version <del>3.0-alpha</del> 3.0-beta1<sup>2</sup> (see below):</p>
<pre class="brush: php; first-line: 551; title: ; notranslate">
	$defaults = array(
		'name' =&gt; sprintf(__('Sidebar %d'), $i ),
		'id' =&gt; &quot;sidebar-$i&quot;,
		'description' =&gt; '',
		'before_widget' =&gt; '&lt;li id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;',
		'after_widget' =&gt; &quot;&lt;/li&gt;\n&quot;,
		'before_title' =&gt; '&lt;h2 class=&quot;widgettitle&quot;&gt;',
		'after_title' =&gt; &quot;&lt;/h2&gt;\n&quot;,
	);
</pre>
<p>&#8230; and the default Navigation Menu widget, the following CSS style elements are generated:</p>
<ul>
<li>#nav-menu-&lt;widget instance></li>
<li>.widget</li>
<li>.widget_nav_menu</li>
<li>.widgettitle</li>
</ul>
<p>&#8230; with these elements generated specifically by the <em><a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu">wp_nav_menu()</a></em> function found in <em>../wp-includes/default-widgets.php</em> of WordPress version <del>3.0-alpha</del> 3.0-beta1<sup>2</sup>:</p>
<ul>
<li>.menu-&lt;menu name>-container<sup>2</sup></li>
<li>#menu-&lt;menu name></li>
<li>.menu</li>
<li>#menu-item-&lt;unique identifier*></li>
<li><del>.menu-item-type-&lt;types: page, category, Custom></del><sup>1</sup></li>
<li>.menu-item<sup>2</sup></li>
<li>.menu-item-type-&lt;post_type, custom, or taxonomy><sup>2</sup></li>
<li>.menu-item-object-&lt;page, or category><sup>2</sup></li>
<li>.current_page_item</li>
<li>.sub-menu<sup>1</sup></li>
</ul>
<p>This is just an initial listing of my observations as of the March 16, 2010 3.0-alpha version of WordPress. Look for future updates; and, please feel free to make note of your own observations below.</p>
<p><em>Bonus</em> &#8211; A suggested addition to style.css for theme developers:</p>
<pre class="brush: css; title: ; notranslate">
/* WordPress 3.0 Navigation Menu default widget */
.widget_nav_menu .menu {margin: 0;}
.widget_nav_menu .menu li {
  display: block;
  float: none;
  /* text-align: left; */
}
</pre>
<div class="nota-bene"><abbr title="Nota Bene">*N.B.</abbr> &#8211; each new menu item generates its own post ID in the WordPress database &#8216;posts&#8217; table. This appears to be in a similar fashion to post revisions.</div>
<div class="footnote">
<ol>Notes:</p>
<li>Mar 21, 2010
<ul>
<li>menu item type class further defined</li>
<li>sub-menu class noted</li>
</ul>
</li>
<li>Apr 15, 2010 (3.0-beta1 updates)
<ul>
<li>additional menu classes defined and/or modified</li>
<li>new menu container class noted</li>
</ul>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/03/wordpress-3-0-navigation-menu-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

