<?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>E.Share &#187; CSS Tips</title>
	<atom:link href="http://eshare.net.ru/category/css-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://eshare.net.ru</link>
	<description>Easy Share Here..</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:17:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Make A Bio Dropdown Box With CSS</title>
		<link>http://eshare.net.ru/how-to-make-a-bio-dropdown-box-with-css.html</link>
		<comments>http://eshare.net.ru/how-to-make-a-bio-dropdown-box-with-css.html#comments</comments>
		<pubDate>Mon, 25 Jul 2011 20:36:41 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=2722</guid>
		<description><![CDATA[After the most recent Theme Lab redesign, I had a number of comments on the "bio dropdown" box I have up in my navigation.

In this post, I'll show you how to make your own with pure CSS.


Related posts:<ol><li><a href='http://www.themelab.com/2010/04/19/seamless-image-rollovers-using-css/' rel='bookmark' title='Permanent Link: Seamless Image Rollovers Using CSS'>Seamless Image Rollovers Using CSS</a></li>
<li><a href='http://www.themelab.com/2010/05/18/custom-twitter-widget-tutorial/' rel='bookmark' title='Permanent Link: Make A Custom Twitter Widget Without A Plugin'>Make A Custom Twitter Widget Without A Plugin</a></li>
<li><a href='http://www.themelab.com/2010/05/04/wp-pagenavi-styling/' rel='bookmark' title='Permanent Link: Guide to Styling the WP-PageNavi WordPress Plugin'>Guide to Styling the WP-PageNavi WordPress Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.themelab.com%2F2011%2F07%2F25%2Fcss-bio-dropdown-box%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.themelab.com%2F2011%2F07%2F25%2Fcss-bio-dropdown-box%2F&amp;source=themelab&amp;style=compact&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>After I released the <a href="http://www.themelab.com/2011/07/18/another-new-theme-lab-design-by-james-mcdonald/">most recent Theme Lab redesign</a>, I had a number of comments on the &#8220;bio dropdown&#8221; box I have up in my navigation bar. I coded it with just a few lines of CSS along with a background image.</p>
<p>In this CSS tip post, I&#8217;ll go over how you can have a similar hover effect on your own sites.</p>
<p><span id="more-2722"></span></p>
<h3>The Example</h3>
<p><img src="http://www.themelab.com/wp-content/uploads/bio-hover-example.png" alt="" title="Bio Hover Example" width="219" height="184" class="alignnone size-full wp-image-2726" style="float: right; margin-left: 10px;" />In this example, I&#8217;ll be using a text widget in the <a href="http://wordpress.org/extend/themes/twentyeleven" title="Twenty Eleven WordPress theme">Twenty Eleven</a> theme, the new default as of WordPress 3.2.</p>
<p>Basically, once you hover over the div that contains the widget, a &#8220;hidden&#8221; div will appear which will be our bio dropdown box.</p>
<p>Note in the picture to the left, the gray bio box will not appear unless you hover the div containing the &#8220;Bio Hover&#8221; heading.</p>
<h3>The Selector</h3>
<p>It&#8217;s not that important to have a unique CSS selector to style the div you want to put your bio dropdown box in. Basically this is because if you don&#8217;t have the accompanying markup in that div, nothing would show up anyway in the event of a hover state.</p>
<p>Although in the case of Twenty Eleven, we could get away with just styling the &#8220;aside&#8221; class, chances are you only want a bio dropdown box on one of your divs anyway, so we&#8217;ll get more specific.</p>
<p><img src="http://www.themelab.com/wp-content/uploads/bio-hover-selector.png" alt="" title="Bio Hover Selector" width="487" height="110" class="alignnone size-full wp-image-2731" style="display: block; margin: 0 auto;" /></p>
<p>Luckily with WordPress, it spits out a ton of unique CSS selectors you can use. In this example, it spits out <code>#test-3</code> which we&#8217;ll use from now on.</p>
<p><strong>Note:</strong> This may vary depending on your WordPress installation. Use something like Chrome Developer Tools to easily find the selector.</p>
<h3>HTML Markup</h3>
<p>In this example, the HTML markup can be placed directly into the WordPress text widget. This is what you&#8217;d put in:</p>
<pre><code>&lt;div class=&quot;bio-dropdown&quot;&gt;
&lt;img class=&quot;photo&quot;  alt=&quot;Leland!&quot; src=&quot;http://www.themelab.com/wp-content/themes/themelab5/images/leland-medium.png&quot; /&gt;
&lt;p&gt;Hello. I am Leland Fiegel and I am the creator and founder of Theme Lab. I love to write code, especially HTML, CSS and for WordPress.&lt;/p&gt;
&lt;/div&gt;</code></pre>
<p>Unless you want to steal my identity, you&#8217;ll probably want to replace the photo with a picture of yourself. You can also optionally remove it.</p>
<p>Since we&#8217;re using a WordPress widget, the outlying markup is already generated for us. This is what it is in total.</p>
<pre><code>&lt;aside id=&quot;text-3&quot; class=&quot;widget widget_text&quot;&gt;
&lt;h3 class=&quot;widget-title&quot;&gt;Bio Hover&lt;/h3&gt;
&lt;div class=&quot;textwidget&quot;&gt;
&lt;div class=&quot;bio-dropdown&quot;&gt;&lt;img class=&quot;photo&quot;  alt=&quot;Leland!&quot; src=&quot;http://www.themelab.com/wp-content/themes/themelab5/images/leland-medium.png&quot; /&gt;&lt;p&gt;Hello. I am Leland Fiegel and I am the creator and founder of Theme Lab. I love to write code, especially HTML, CSS and for WordPress.&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/aside&gt;</code></pre>
<p>If you&#8217;re doing this on a raw HTML site, you&#8217;ll need some sort of wrapper (like this one is the aside) for the bio dropdown with something else in it, otherwise there&#8217;s nothing to hover over to drop down.</p>
<p><strong>Real-life example:</strong> My bio dropdown div is inside an <code>li</code> tag in my navigation menu.</p>
<h3>First Two Lines of CSS</h3>
<p>The first two lines really set up the rest of it, so I put this in its own section.</p>
<pre><code>#text-3 { position: relative; }
.bio-dropdown { display: none; }</code></pre>
<h4>Explanation</h4>
<ul>
<li><strong>First line:</strong> We set the wrapper of the bio dropdown to have relative positioning. This makes it easier to absolutely position the bio dropdown box closer to the original wrapper.</li>
<li><strong>Second line:</strong> This essentially makes the bio dropdown box invisible by default. It&#8217;s only supposed to show up when you hover over something, remember?</li>
</ul>
<p><strong>Note:</strong> If you&#8217;re not a fan of display: none; or think it hurts your SEO or something, you can also use something along the lines of <code>position: absolute; left: -100000em;</code> which will basically move it so far off the page, noone would ever see it anyway.</p>
<h3>The Rest of the CSS</h3>
<p>The following CSS code handles the look and feel of the bio dropdown box.</p>
<pre><code>#text-3:hover .bio-dropdown {
display: block; z-index: 99;
position: absolute; top: 25px;
background: #ccc; padding: 10px 10px 0 10px;
font-size: 11px; line-height: 18px; color: #666;
}</code></pre>
<h4>Explanation</h4>
<p>This is where we finally use the <code>#text-3</code> selector along with the :hover pseudoclass to make the bio dropdown box show up only when you hover over the text widget.</p>
<ul>
<li><strong>First line:</strong> The <code>display: block;</code> makes the bio dropdown box visible. The <code>z-index: 99;</code> ensures that the box will be displayed over everything else, unobstructed.</li>
<li><strong>Second line:</strong> This positions the box below the aside about 25 pixels.</li>
<li><strong>Third line:</strong> These are just some cosmetic styles, setting the background to a light gray with decent padding.</li>
<li><strong>Fourth line:</strong> This is all self-explanatory typography.</li>
</ul>
<p><strong>Note:</strong> About the first line, if you&#8217;re using the <code>position: absolute; left: -100000em;</code> technique instead of <code>display: none;</code> like I explained above, using <code>display: block</code> here wouldn&#8217;t be necessary (since divs are already assumed to be block level elements anyway). Instead you&#8217;d have to use <code>left: 0;</code> to move the div back onto the page.</p>
<p>And for the image, just a simple float and right margin.</p>
<pre><code>.bio-dropdown .photo { float: left; margin-right: 10px; }</code></pre>
<h3>WordPress Integration</h3>
<p>I can&#8217;t think of a good way to integrate this into a dynamic WordPress menu (<code>wp_nav_menu</code>) without filtering the crap out of something. The easiest way may be to <a href="http://elliotjaystocks.com/blog/hard-code-your-navigation-and-get-over-it/">hard code your navigation and get over it</a> (which I do on all of my sites).</p>
<p>If you have any techniques on how to insert markup into a WordPress menu item, which is required for this, I&#8217;d love to hear about it in the comments. I&#8217;m sure it&#8217;s possible but it goes beyond the scope of this CSS tip post.</p>
<h3>Conclusion</h3>
<p>Yes, I realize you probably wouldn&#8217;t want to put a bio dropdown in your sidebar, you&#8217;d put it in a place with limited space that doesn&#8217;t have room for it to be fully displayed (like a cramped navigation bar).</p>
<p>Fortunately, you can use this teqhnique just about anywhere. I just wanted to go over a basic technique on how to display a whole div on hover.</p>
<p>It&#8217;s not too complicated and you don&#8217;t need any fancy Javascript stuff to do it, although if you wanted some high-tech fading effect, you&#8217;d probably have to use some Javascript.</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2010/04/19/seamless-image-rollovers-using-css/' rel='bookmark' title='Permanent Link: Seamless Image Rollovers Using CSS'>Seamless Image Rollovers Using CSS</a></li>
<li><a href='http://www.themelab.com/2010/05/18/custom-twitter-widget-tutorial/' rel='bookmark' title='Permanent Link: Make A Custom Twitter Widget Without A Plugin'>Make A Custom Twitter Widget Without A Plugin</a></li>
<li><a href='http://www.themelab.com/2010/05/04/wp-pagenavi-styling/' rel='bookmark' title='Permanent Link: Guide to Styling the WP-PageNavi WordPress Plugin'>Guide to Styling the WP-PageNavi WordPress Plugin</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=CMGNdTN5D14:BjqGJULrxhI:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=CMGNdTN5D14:BjqGJULrxhI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=CMGNdTN5D14:BjqGJULrxhI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=CMGNdTN5D14:BjqGJULrxhI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=CMGNdTN5D14:BjqGJULrxhI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=CMGNdTN5D14:BjqGJULrxhI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=CMGNdTN5D14:BjqGJULrxhI:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/how-to-make-a-bio-dropdown-box-with-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make A Custom Twitter Widget Without A Plugin</title>
		<link>http://eshare.net.ru/make-a-custom-twitter-widget-without-a-plugin.html</link>
		<comments>http://eshare.net.ru/make-a-custom-twitter-widget-without-a-plugin.html#comments</comments>
		<pubDate>Tue, 18 May 2010 16:21:29 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=2049</guid>
		<description><![CDATA[
			
				
			
		
I&#8217;ve been asked a few times about which WordPress plugin I use to generate the &#8220;Twitter Feed&#8221; list in the footer of my site.  I actually don&#8217;t use a plugin at all, it&#8217;s a snippet of Javascript from Twitter that displays a list of my recent tweets that I styled with CSS.  In [...]


Related posts:<ol><li><a href='http://www.themelab.com/2010/05/04/wp-pagenavi-styling/' rel='bookmark' title='Permanent Link: Guide to Styling the WP-PageNavi WordPress Plugin'>Guide to Styling the WP-PageNavi WordPress Plugin</a></li><li><a href='http://www.themelab.com/2008/03/06/what-exactly-is-a-widget-ready-wordpress-theme/' rel='bookmark' title='Permanent Link: What exactly is a widget-ready WordPress theme?'>What exactly is a widget-ready WordPress theme?</a></li><li><a href='http://www.themelab.com/2010/03/06/backupbuddy-wordpress-plugin-video-review-giveaway/' rel='bookmark' title='Permanent Link: BackupBuddy WordPress Plugin &#8211; Video Review + Giveaway!'>BackupBuddy WordPress Plugin &#8211; Video Review + Giveaway!</a></li></ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.themelab.com%2F2010%2F05%2F18%2Fcustom-twitter-widget-tutorial%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.themelab.com%2F2010%2F05%2F18%2Fcustom-twitter-widget-tutorial%2F&amp;source=themelab&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been asked a few times about which WordPress plugin I use to generate the &#8220;Twitter Feed&#8221; list in the footer of my site.  I actually don&#8217;t use a plugin at all, it&#8217;s a snippet of Javascript from Twitter that displays a list of my recent tweets that I styled with CSS.  In this tutorial, I&#8217;ll show you:</p>
<ul>
<li>The necessary HTML and Javascript code to pull the latest tweets</li>
<li>An overview of the HTML markup and associated CSS selectors</li>
<li>Two examples of custom-styled Twitter widgets I&#8217;ve used myself</li>
</ul>
<p>Read on to see the rest of the tutorial&#8230;</p>
<p><span id="more-2049"></span></p>
<h3>The HTML and Javascript</h3>
<p>Twitter used to provide this code on their site but for some reason they removed it in favor of these <a href="http://twitter.com/goodies/widgets">much less flexible widgets</a>.  You&#8217;ll need two pieces of code.</p>
<p>First, place the following code where you want the list to show up:</p>
<pre><code>&lt;ul id=&quot;twitter_update_list&quot;&gt;&lt;li&gt;Twitter feed loading&lt;/li&gt;&lt;/ul&gt;</code></pre>
<p><strong>Note:</strong> The <code>&lt;li&gt;Twitter feed loading&lt;/li&gt;</code> is not a part of the original code Twitter provided, but it&#8217;s required to make the HTML validate.  It can also provide a useful message while the feed is loading, as it could take a few seconds on a slow day.</p>
<p>Second, you&#8217;ll need to place the following lines of Javascript <strong>as close to the <code>&lt;/body&gt;</code> tag as possible</strong>.</p>
<pre><code>&lt;script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://twitter.com/statuses/user_timeline/USERNAME.json?callback=twitterCallback2&amp;count=3"&gt;&lt;/script&gt;<!--formatted--></code></pre>
<p>I currently have it right above my Google Analytics code.  You should keep these lines of Javascript as low as possible on the page because in the event that Twitter doesn&#8217;t load, everything below that code will hang (which isn&#8217;t a big deal if it&#8217;s already at the bottom).</p>
<h3>Overview of HTML Markup and CSS Selectors</h3>
<p>Now you can&#8217;t see the HTML markup the Twitter widget generates without using something like Web Developer Toolbar.  Lucky for you, I&#8217;ve done it for you.  Here&#8217;s a sample list with just one tweet as an example.</p>
<pre><code>&lt;ul id=&quot;twitter_update_list&quot;&gt;
&lt;li&gt;&lt;span&gt;RT @&lt;a href=&quot;http://twitter.com/Screenr&quot;&gt;Screenr&lt;/a&gt;: Cool Screenr update: Now your screencasts publish twice as fast. &lt;a href=&quot;http://screenr.com/aDp&quot;&gt;http://screenr.com/aDp&lt;/a&gt;&lt;/span&gt; &lt;a style=&quot;font-size: 85%;&quot; href=&quot;http://twitter.com/themelab/statuses/14229492866&quot;&gt;46 minutes ago&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</code></pre>
<ul>
<li><code>#twitter_update_list</code> &#8211; Selects the entire list</li>
<li><code>#twitter_update_list li</code> &#8211; Select individual list items</li>
<li><code>#twitter_update_list li span</code> &#8211; Selects the &#8220;tweet&#8221; part of the list item, not the time ago link</li>
<li><code>#twitter_update_list li span a</code> &#8211; Selects the link within the &#8220;tweet&#8221; part of the list item</li>
<li><code>#twitter_update_list a[style=&quot;font-size: 85%;&quot;]</code> &#8211; Selects the &#8220;time ago&#8221; link, in a somewhat hacky way (see note below).</li>
</ul>
<p><strong>Note:</strong> Since there is an inline style in the time ago link which sets the font size at 85%, it makes it somewhat difficult to override without a hacky piece of code.  I&#8217;ve used this before to reset the font size to the same as the rest of the list:</p>
<pre><code>#twitter_update_list a[style=&quot;font-size: 85%;&quot;] { font-size: 1em !important; }</code></pre>
<p>That probably doesn&#8217;t work in early versions IE because of the &#8220;!important&#8221; part.  You can also use <code>display: block;</code> to move that link to the next line.</p>
<h3>Live Example</h3>
<p>For a live example, check out the footer of <a href="http://www.themelab.com">Theme Lab</a>.  Or if you&#8217;re reading this in your feed reader or an unauthorized scraper site, check out the screenshot below.</p>
<p style="text-align:center"><img src="http://www.themelab.com/wp-content/uploads/themelab-tweet.png" alt="Theme Lab Twitter Feed" title="Theme Lab Twitter Feed" width="321" height="312" class="alignnone size-full wp-image-2056" /></p>
<p>Here&#8217;s the code I use for the list:</p>
<pre><code>#twitter_update_list {
	font-size: 13px;
	line-height: 21px;
	list-style: none;
	}
#twitter_update_list li {
	background: url(&#039;images/twitter-divider.gif&#039;) bottom left repeat-x;
	padding-bottom: 7px;
	margin-bottom: 9px;
	}
#twitter_update_list span, #twitter_update_list span a {
	color: #ababab;
	text-decoration: none;
	}
#twitter_update_list a {
	color: #6f7276;
	}</code></pre>
<ul>
<li>The first line selects the entire list.  It sets the font size, line height, and makes sure no bullet points show up.</li>
<li>The second line makes a small 2&#215;1 image repeat below each list item as a sort of divider.  The padding sets the space between the tweet and the top edge of the divider.  The margin sets the space between the bottom edge of the divider and the next tweet.</li>
<li>The third line sets the color of the tweet, including links, and makes sure no lines show up below links.</li>
<li>The last line sets the color of the &#8220;time ago&#8221; link.</li>
</ul>
<p>And that&#8217;s it!  If I had to change one thing, I&#8217;d differentiate the the in-tweet links somehow, and maybe add hover effects on links as well.</p>
<h3>This Can Be Used On Any Site</h3>
<p>Unlike all the other <a href="http://weblogtoolscollection.com/archives/2010/02/13/how-to-do-xyz-without-a-wordpress-plugin/">how to do XYZ without a plugin</a> posts out there, there is no actual WordPress code used in this tutorial.</p>
<p>Since this uses no WordPress code, it&#8217;s not filed under the <a href="http://www.themelab.com/wordpress-tutorials/">WordPress Tutorials</a> collection.  It can be used on pretty much any kind of site, assuming you can edit HTML source and CSS.</p>
<p>If you want to use it within WordPress, I would suggest manually editing your theme files to insert the two lines of Javascript in the footer of your site, or even hooking it into your wp_footer() hook.</p>
<p>As for the widget itself, you can either paste the code inside a text widget or manually code it into your sidebar (or wherever).</p>
<h3>Conclusion</h3>
<p>Hope you all liked the tutorial, I&#8217;d love to hear your thoughts in the comments.  If you have any requests for quick WordPress or CSS tips, feel free to let me know.  It may be featured in a future <em>Tutorial Tuesday</em> post at Theme Lab!</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2010/05/04/wp-pagenavi-styling/' rel='bookmark' title='Permanent Link: Guide to Styling the WP-PageNavi WordPress Plugin'>Guide to Styling the WP-PageNavi WordPress Plugin</a></li><li><a href='http://www.themelab.com/2008/03/06/what-exactly-is-a-widget-ready-wordpress-theme/' rel='bookmark' title='Permanent Link: What exactly is a widget-ready WordPress theme?'>What exactly is a widget-ready WordPress theme?</a></li><li><a href='http://www.themelab.com/2010/03/06/backupbuddy-wordpress-plugin-video-review-giveaway/' rel='bookmark' title='Permanent Link: BackupBuddy WordPress Plugin &#8211; Video Review + Giveaway!'>BackupBuddy WordPress Plugin &#8211; Video Review + Giveaway!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=FSUgdO2p1Mo:_tyd90bVME0:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=FSUgdO2p1Mo:_tyd90bVME0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=FSUgdO2p1Mo:_tyd90bVME0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=FSUgdO2p1Mo:_tyd90bVME0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=FSUgdO2p1Mo:_tyd90bVME0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=FSUgdO2p1Mo:_tyd90bVME0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=FSUgdO2p1Mo:_tyd90bVME0:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/make-a-custom-twitter-widget-without-a-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guide to Styling the WP-PageNavi WordPress Plugin</title>
		<link>http://eshare.net.ru/guide-to-styling-the-wp-pagenavi-wordpress-plugin.html</link>
		<comments>http://eshare.net.ru/guide-to-styling-the-wp-pagenavi-wordpress-plugin.html#comments</comments>
		<pubDate>Tue, 04 May 2010 12:07:42 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=1280</guid>
		<description><![CDATA[If you&#8217;re not familiar with the WP-PageNavi WordPress plugin, it allows you to replace normal previous/next navigation with a more advanced, numbered paging navigation.  This is a feature I&#8217;ve included on a number themes I&#8217;ve developed, including RS16, Blogwave, RS17, and Bright Spot.

In this tutorial, I&#8217;m going to go over how to:

Install WP-PageNavi and [...]


Related posts:<ol><li><a href='http://www.themelab.com/2008/04/04/the-ultimate-guide-to-the-wordpress-loop/' rel='bookmark' title='Permanent Link: The Ultimate Guide to the WordPress Loop'>The Ultimate Guide to the WordPress Loop</a></li><li><a href='http://www.themelab.com/2010/05/18/custom-twitter-widget-tutorial/' rel='bookmark' title='Permanent Link: Make A Custom Twitter Widget Without A Plugin'>Make A Custom Twitter Widget Without A Plugin</a></li><li><a href='http://www.themelab.com/2008/04/14/the-ultimate-guide-to-wordpress-conditional-tags/' rel='bookmark' title='Permanent Link: The Ultimate Guide to WordPress Conditional Tags'>The Ultimate Guide to WordPress Conditional Tags</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re not familiar with the <a href="http://wordpress.org/extend/plugins/wp-pagenavi/">WP-PageNavi</a> WordPress plugin, it allows you to replace normal previous/next navigation with a more advanced, numbered paging navigation.  This is a feature I&#8217;ve included on a number themes I&#8217;ve developed, including <a href="http://www.themelab.com/2009/12/13/rs16-free-wordpress-theme/">RS16</a>, <a href="http://www.themelab.com/2010/01/02/blogwave-free-wordpress-blog-theme/">Blogwave</a>, <a href="http://www.themelab.com/2010/02/16/rs17-free-wordpress-theme/">RS17</a>, and <a href="http://www.themelab.com/2010/03/17/announcing-the-underground-new-newsletter-free-theme-bribe/">Bright Spot</a>.</p>
<p style="text-align: center;"><a href="http://www.themelab.com/wp-content/uploads/rs16-pagenavi.png" rel="lightbox" title="RS16 PageNavi"><img src="http://www.themelab.com/wp-content/uploads/rs16-pagenavi.thumbnail.png" alt="RS16 PageNavi" width="400" height="69" class="attachment wp-att-1225 centered" /></a></p>
<p>In this tutorial, I&#8217;m going to go over how to:</p>
<ul>
<li>Install WP-PageNavi and properly integrate it in your theme.</li>
<li>Two methods to disable and/or override default plugin styles.</li>
<li>An overview of the HTML markup output by WP-PageNavi</li>
<li>Finally, how to alter the look of your page navigation through CSS</li>
</ul>
<p><span id="more-1280"></span></p>
<h3>Install the Plugin</h3>
<p>You have two options when it comes to installing the WP-PageNavi plugin.</p>
<ul>
<li>Download it from <a href="http://wordpress.org/extend/plugins/wp-pagenavi/">WordPress.org</a>, upload it to your <code>/wp-content/plugins/</code> directory, and activate (aka, <a href="http://www.themelab.com/2008/03/07/how-to-install-a-wordpress-plugin/" title="How to install a WordPress plugin">the old fashioned way</a>).</li>
<li>Depending on your host, you can also automatically install plugins by searching them in &#8220;Add New&#8221; page under Plugins in your WordPress admin panel.  Just search for &#8220;pagenavi&#8221; and you should find it.</li>
</ul>
<p>Okay, that should&#8217;ve been pretty easy.  Now it&#8217;s time to get your hands a little dirty in code for the integration part.</p>
<h3>Theme Integration</h3>
<p>In our theme integration, we never want any errors to be displayed if the WP-PageNavi isn&#8217;t active.  Instead, we&#8217;ll make sure it falls back on the old previous/next-style navigation.  To do this, we&#8217;ll use a <a href="http://www.themelab.com/2008/06/01/fix-wordpress-fatal-error-call-to-undefined-function/" title="Fix WordPress Fatal error: Call to undefined function">function_exists conditional check</a>.</p>
<p>Let&#8217;s say this is your normal previous/next WordPress navigation code:</p>
<pre><code>&lt;div class=&quot;navigation&quot;&gt;
	&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(&#039;&amp;laquo; Older Entries&#039;) ?&gt;&lt;/div&gt;
	&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(&#039;Newer Entries &amp;raquo;&#039;) ?&gt;&lt;/div&gt;
&lt;/div&gt;</code></pre>
<p>We will change it to the following:</p>
<pre><code>&lt;?php if (function_exists(&#039;wp-pagenavi&#039;)) { wp_pagenavi(); } else { ?&gt;&lt;div class=&quot;navigation&quot;&gt;
	&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(&#039;&amp;laquo; Older Entries&#039;) ?&gt;&lt;/div&gt;
	&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(&#039;Newer Entries &amp;raquo;&#039;) ?&gt;&lt;/div&gt;
&lt;/div&gt;&lt;?php } ?&gt;</code></pre>
<p>This basically checks to see if WP-PageNavi is active and if it is, it displays the new page navigation code.  If not, it gracefully falls back to the normal previous/next navigation.</p>
<p><strong>Please Note:</strong> Depending on how your CSS is coded, you may want to put the <code>wp_pagenavi();</code> part inside the &#8220;navigation&#8221; (or equivalent) div.  Keep in mind WP-PageNavi spits out a new class called &#8220;wp-pagenavi&#8221; though which we can use to style separately.</p>
<h3>Override Plugin Styles</h3>
<p>By default, WP-PageNavi automatically inserts a CSS file called <code>pagenavi-css.css</code> from its plugin directory into the header of your site.  We don&#8217;t want these default styles to interfere with our own cool custom-made styles, so we&#8217;ll completely get rid of them, and there are two simple ways to do just that.</p>
<ul>
<li><strong>Add a CSS file to your theme directory</strong> &#8211; This is probably the easiest way to override the default WP-PageNavi styles.  If you have a file called pagenavi-css.css in your theme directory, WP-PageNavi will use this instead of the default one in the plugin directory.</li>
<li><strong>Add a snippet to your functions.php file</strong> &#8211; The following code snippet I picked up from <a href="http://www.wprecipes.com/wordpress-trick-disable-plugin-stylesheet">WP Recipes</a> will completely disable the above behavior and not include any stylesheet from the plugin (either the default one or an override in your theme directory).</li>
</ul>
<pre><code>add_action( &#039;wp_print_styles&#039;, &#039;my_deregister_styles&#039;, 100 );

function my_deregister_styles() {
	wp_deregister_style( &#039;wp-pagenavi&#039; );
}</code></pre>
<p>Just plop that code in your theme&#8217;s <code>functions.php</code> file and add the CSS styles to your regular theme&#8217;s stylesheet (usually <code>style.css</code>).</p>
<p><strong>Note:</strong> Make sure the code is surrounded by brackets like <code>&lt;?php ... ?&gt;</code> if your functions file is currently empty.</p>
<h3>WP-PageNavi HTML Markup and CSS Selectors</h3>
<p>Here&#8217;s what the WP-PageNavi markup looks like.  In the following example, there are four pages, currently on page two.</p>
<pre><code>&lt;div class=&quot;wp-pagenavi&quot;&gt;
	&lt;a href=&quot;http://example.com/&quot; &gt;Previous&lt;/a&gt;&lt;a href=&quot;http://example.com/&quot; class=&quot;page&quot; title=&quot;1&quot;&gt;1&lt;/a&gt;
	&lt;span class=&quot;current&quot;&gt;2&lt;/span&gt;
	&lt;a href=&quot;http://example.com/?paged=3&quot; class=&quot;page&quot; title=&quot;3&quot;&gt;3&lt;/a&gt;
	&lt;a href=&quot;http://example.com/?paged=3&quot; &gt;Next&lt;/a&gt;&lt;/div&gt;
	&lt;span class=&quot;extend&quot;&gt;...&lt;/span&gt;
	&lt;a href=&quot;http://example.com/?paged=4&quot; class=&quot;last&quot; title=&quot;Last &amp;raquo;&quot;&gt;Last &amp;raquo;&lt;/a&gt;
&lt;/div&gt;</code></pre>
<p>We can use the following CSS selectors to target the above HTML markup:</p>
<ul>
<li><code>.wp-pagenavi</code> &#8211; Applies to the entire div, useful for CSS clears, padding/margin, font sizes and styles (bold, italic, etc.)</li>
<li><code>.wp-pagenavi a</code> &#8211; Targets all links inside the page navigation, including page numbers and previous/next.</li>
<li><code>.wp-pagenavi a.page</code> &#8211; Targets page numbers specifically</li>
<li><code>.wp-pagenavi a.first</code> &#8211; Targets the &#8220;first&#8221; link specifically (not listed above)</li>
<li><code>.wp-pagenavi a.last</code> &#8211; Targets the &#8220;last&#8221; link specifically</li>
<li><code>.wp-pagenavi span</code> &#8211; Targets the current page number along with the extend part (the thing with three dots)</li>
<li><code>.wp-pagenavi span.current</code> &#8211; Specifically targets the current page number</li>
<li><code>.wp-pagenavi span.extend</code> &#8211; Specifically targets the extend (three dots thing)</li>
<li><code>.wp-pagenavi span.pages</code> &#8211; Specifically targets page number display (i.e. Page 1 of 4)</li>
</ul>
<p><strong>Note:</strong> The previous and next links by default, have no CSS class on them.  If you want them to completely differentiated from the page numbers and first/last links, those will need to reset any styles added to the <code>.wp-pagenavi a</code> selector.  If that made no sense, take a look at the following (really simplified) example.</p>
<p><strong>For example:</strong> Let&#8217;s say you wanted the the previous and next links to be bold, but every other link to have a normal weight.  You would need to do the following:</p>
<pre><code>.wp-pagenavi a { font-weight: bold; } /* Previous and Next links only */
.wp-pagenavi a.page,
.wp-pagenavi a.first,
.wp-pagenavi a.last { font-weight: normal; } /* Other links */</code></pre>
<p>I combined page number links, the first link, and the last link into one rule for example purposes. Of course, you can separate them and add more specific styles to each one.</p>
<p>This would be much easier if there was a class added to previous/next links by default, but there&#8217;s not.  It&#8217;s not a huge deal as you can just reset them anyway.</p>
<p><strong>Important Update:</strong> Thanks to an update from <a href="http://scribu.net/">scribu</a> in the comments, it turns out the newest version of WP-PageNavi does have previous/next classes on them (thanks in part to <a href="http://yoast.com/pagination-classes/">Yoast</a>).</p>
<p>You can use <code>.wp-pagenavi a.previouspostslink</code> and <code>.wp-pagenavi a.nextpostslink</code> to select previous and next links, respectively.</p>
<p>So pretty much everything above up until the unordered list of selectors isn&#8217;t relevant anymore, but I&#8217;ll keep it just because it could be a useful lesson in overriding CSS in some other situations.  The below CSS example will still apply as I didn&#8217;t use those selectors anyway.</p>
<h3>A CSS Example</h3>
<p>Here&#8217;s an example of a PageNavi styling which I built off of the <a href="http://customtheme.com/themes/blogwave/">Blogwave</a> theme.</p>
<p style="text-align:center"><img src="http://www.themelab.com/wp-content/uploads/blogwave-updated-pagenavi.png" alt="Blogwave Updated PageNavi" title="Blogwave Updated PageNavi" width="500" height="150" class="alignnone size-full wp-image-1967" /></p>
<p>Here&#8217;s the code I used to get this look, <a href="http://ianstormtaylor.com/discussed/multi-single-line-css/">multi-single-line CSS</a> is optional:</p>
<pre><code>.wp-pagenavi a, .wp-pagenavi span {
	padding: 5px; margin-right: 10px;
	font-size: 15px; color: #03719c; text-decoration: none;
	border: 3px solid #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
	}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	background: #03719c;
	color: #fff;
	border: 3px solid #AFAFAF;
	}
.wp-pagenavi span.current { font-weight: bold; }</code></pre>
<p>And here&#8217;s what it all means:</p>
<p><strong>First Rule</strong><br />
The <code>.wp-pagenavi a, .wp-pagenavi span</code> selects all anchor and span elements (pretty much everything) inside the .wp-pagenavi div.</p>
<ul>
<li>The first line of the rule sets a padding of 5px so it won&#8217;t be crammed up against the light gray border (defined below).  It also sets a consistent margin of 10px to the right of each element so there is equal spacing between each.</li>
<li>The second line sets a font size of 15px, makes the text color blue, and makes sure links have no underline.</li>
<li>The third line sets a solid 3px gray border on everything.  The <code>border-radius</code> code makes the corners rounded.</li>
</ul>
<p><strong>Second Rule</strong><br />
The <code>.wp-pagenavi a:hover, .wp-pagenavi span.current</code> selects the link hover effect as well as the current page number, respectively.</p>
<ul>
<li>The first line sets a dark blue background color.</li>
<li>The second line makes the text white.</li>
<li>The third line gives a slightly darker border.</li>
</ul>
<p><strong>Third Rule</strong><br />
This selects the current page number (again) without affecting the link hover effect as well (like the second rule).  This just makes the current page number a bold font weight.</p>
<p>The reason I didn&#8217;t include it with the link hover effect is because it has an uneven effect going from normal to bold font weight.</p>
<p><strong>Note:</strong> Depending on how your CSS is coded, you may have to use more specific selectors.  For example, if there are styles for <code>#content a</code> and your WP-PageNavi is inside the content div, you may have to rewrite your PageNavi CSS as <code>#content .wp-pagenavi a</code> and override any other less-specific styles.</p>
<h3>Conclusion</h3>
<p>I know this was a relatively simple example, you could have a lot more advanced CSS rules to differentiate the various links and other elements even more.  Hopefully you picked up a few CSS tips along the way too.</p>
<p>Optional WP-PageNavi integration is a pretty cool feature theme developers could integrate in their themes.  With the integration method I outlined above, users could easily choose whether or not to use it, and it could be a nice option for a lot of blogs.</p>
<p>Hope you all liked the tutorial, and if you have any requests for future WordPress tutorials or CSS tips, let me know in the comments.</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2008/04/04/the-ultimate-guide-to-the-wordpress-loop/' rel='bookmark' title='Permanent Link: The Ultimate Guide to the WordPress Loop'>The Ultimate Guide to the WordPress Loop</a></li><li><a href='http://www.themelab.com/2010/05/18/custom-twitter-widget-tutorial/' rel='bookmark' title='Permanent Link: Make A Custom Twitter Widget Without A Plugin'>Make A Custom Twitter Widget Without A Plugin</a></li><li><a href='http://www.themelab.com/2008/04/14/the-ultimate-guide-to-wordpress-conditional-tags/' rel='bookmark' title='Permanent Link: The Ultimate Guide to WordPress Conditional Tags'>The Ultimate Guide to WordPress Conditional Tags</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=6p3Y9_ju7V8:TR6fvk9Ziq8:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=6p3Y9_ju7V8:TR6fvk9Ziq8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=6p3Y9_ju7V8:TR6fvk9Ziq8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=6p3Y9_ju7V8:TR6fvk9Ziq8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=6p3Y9_ju7V8:TR6fvk9Ziq8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=6p3Y9_ju7V8:TR6fvk9Ziq8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=6p3Y9_ju7V8:TR6fvk9Ziq8:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/guide-to-styling-the-wp-pagenavi-wordpress-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seamless Image Rollovers Using CSS</title>
		<link>http://eshare.net.ru/seamless-image-rollovers-using-css.html</link>
		<comments>http://eshare.net.ru/seamless-image-rollovers-using-css.html#comments</comments>
		<pubDate>Mon, 19 Apr 2010 20:12:36 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=1888</guid>
		<description><![CDATA[Have you ever noticed how sometimes when you hover over an image, it goes blank for a second, and then it loads the hover image?  When you roll back over though, everything is seamless.
Here&#8217;s an example of what I mean using my Underground ladder image (broken into two pieces).

.old-rollover {display:block; margin: 0 auto; height: [...]


Related posts:<ol><li><a href='http://www.themelab.com/2010/02/27/hide-the-wordpress-stats-smiley/' rel='bookmark' title='Permanent Link: How to Hide the WordPress Stats Smiley the Right Way'>How to Hide the WordPress Stats Smiley the Right Way</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Have you ever noticed how sometimes when you hover over an image, it goes blank for a second, and then it loads the hover image?  When you roll back over though, everything is seamless.</p>
<p>Here&#8217;s an example of what I mean using my Underground ladder image (broken into two pieces).</p>
<style type="text/css">
.old-rollover {display:block; margin: 0 auto; height: 149px; width: 153px; background: url('http://www.themelab.com/wp-content/uploads/ladder1.gif')}
.old-rollover:hover { background: url('http://www.themelab.com/wp-content/uploads/ladder2.gif'); }
</style>
<p><a href="http://underground.themelab.com" class="old-rollover"></a></p>
<p>This is because there are two separate images that need to be loaded, and the second one (on hover) takes extra time to load when the hover effect is triggered.</p>
<p>In this post, I&#8217;m going to show you how to eliminate that delay using a CSS technique that loads the entire image at once, and displaying a portion of it.</p>
<p><span id="more-1888"></span></p>
<h3>Combine the Image</h3>
<p>The first step to getting this to work is combining both halves of the image into one.  You can use your image editor of choice to do this, just copy both of the images, double the height, and paste the inactive one above the active one.</p>
<p><img src="http://www.themelab.com/wp-content/uploads/ladder1.gif" alt="Ladder 1" style="float:left" /><img src="http://www.themelab.com/wp-content/uploads/ladder2.gif" alt="Ladder 2" style="float:right" /><span style="text-align:center; display: block"><img src="http://www.themelab.com/wp-content/themes/new-theme-lab/images/underground-ladder.gif" alt="Underground Ladder" /></span></p>
<p>The image in the middle should be what you&#8217;re going for.  Now we move onto the CSS.</p>
<h3>The Code</h3>
<p>The first step in the CSS is to limit the height of the image to half (basically so only the top ladder shows up).</p>
<p>For purposes of this tutorial, we&#8217;ll use a class called <code>.rollover-tut</code>.  Since the original ladder image is 153&#215;149, we&#8217;ll use this CSS code:</p>
<pre><code>.rollover-tut {
height: 149px;
width: 153px;
display: block;
}</code></pre>
<p>Since we&#8217;re making a link, we&#8217;ll use the following HTML code:</p>
<pre><code>&lt;a class=&quot;rollover-tut&quot; href=&quot;#&quot;&gt;&lt;/a&gt;</code></pre>
<p>At this point, your link should look like the original ladder image, with no hover effect (yet).</p>
<p style="text-align:center"><img src="http://www.themelab.com/wp-content/uploads/ladder1.gif" alt="Ladder 1" /></p>
<p>To get the hover effect working, we&#8217;ll use a CSS property called <code>background-position</code> on the <code>:hover</code> pseudoclass.</p>
<pre><code>.rollover-tut:hover {
background-position: 0 -149px;
}
</code></pre>
<p>With the above CSS code, you&#8217;re pretty much moving the background image up 149 pixels (remember, the height of one ladder image, or half of both combined).</p>
<p>An easier way to remember is to use the following hover code instead, which will have the same effect as the above, and you don&#8217;t have to remember any numbers (hat tip: <a href="http://tutsearch.net/">Art Webb</a> via the comments):</p>
<pre><code>.rollover-tut:hover {
background-position: bottom left;
}</code></pre>
<p>And here&#8217;s what you get:</p>
<style type="text/css">
.new-rollover {display:block; margin: 0 auto; height: 149px; width: 153px; background: url('http://www.themelab.com/wp-content/themes/new-theme-lab/images/underground-ladder.gif')}
.new-rollover:hover { background-position:0 -149px; }
</style>
<p><a href="http://www.themelab.com/2010/04/19/seamless-image-rollovers-using-css/#" class="new-rollover"></a></p>
<p>Notice there&#8217;s no delay between the hover effect now, since the entire image is loaded at once.</p>
<h3>Conclusion</h3>
<p>This same technique can be used for pretty much any background image rollover effect.  I&#8217;m not sure if any of you have checked out my <a href="http://leland.info/">personal blog</a> design lately, but I make extensive use of it on pretty much every link using a background image (and the submit button on my comment form).</p>
<p>Hope you all enjoyed this CSS tip.  If you have any ideas for future CSS tip posts, let me know in the comments.</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2010/02/27/hide-the-wordpress-stats-smiley/' rel='bookmark' title='Permanent Link: How to Hide the WordPress Stats Smiley the Right Way'>How to Hide the WordPress Stats Smiley the Right Way</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=OhRJxNXPvD4:lmcF5OVsg1Q:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=OhRJxNXPvD4:lmcF5OVsg1Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=OhRJxNXPvD4:lmcF5OVsg1Q:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=OhRJxNXPvD4:lmcF5OVsg1Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=OhRJxNXPvD4:lmcF5OVsg1Q:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=OhRJxNXPvD4:lmcF5OVsg1Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=OhRJxNXPvD4:lmcF5OVsg1Q:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/seamless-image-rollovers-using-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Highlight Author Comments in WordPress, The Easier Right Way</title>
		<link>http://eshare.net.ru/highlight-author-comments-in-wordpress-the-easier-right-way.html</link>
		<comments>http://eshare.net.ru/highlight-author-comments-in-wordpress-the-easier-right-way.html#comments</comments>
		<pubDate>Tue, 02 Mar 2010 14:08:13 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=1641</guid>
		<description><![CDATA[I just came across a post published today which goes over &#8220;the right way&#8221; to highlight author comments in WordPress.  Basically, instead of the usual code that inserts the &#8220;admincomment&#8221; class for just the first user (user ID 1).  In the post, that code is adapted for any post author, no matter what [...]


Related posts:<ol><li><a href='http://www.themelab.com/2008/05/20/change-your-wordpress-author-name-please/' rel='bookmark' title='Permanent Link: Change Your WordPress Author Name&#8230;Please'>Change Your WordPress Author Name&#8230;Please</a></li><li><a href='http://www.themelab.com/2010/02/24/how-to-create-a-comments-central-page-template-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Comments Central Page Template in WordPress'>How to Create a Comments Central Page Template in WordPress</a></li><li><a href='http://www.themelab.com/2008/05/09/add-gravatar-support-to-your-wordpress-comments/' rel='bookmark' title='Permanent Link: Add Gravatar Support to Your WordPress Comments'>Add Gravatar Support to Your WordPress Comments</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I just came across a post published today which goes over &#8220;the right way&#8221; to <a href="http://aext.net/2010/03/highlight-author-comments-wordpress-right-way/">highlight author comments</a> in WordPress.  Basically, instead of the usual code that inserts the &#8220;admincomment&#8221; class for just the first user (user ID 1).  In the post, that code is adapted for any post author, no matter what the user ID is, which can be especially useful to multi-author blogs.</p>
<p>Ever since <a href="http://wordpress.org/development/2008/12/coltrane/">WordPress 2.7 was released</a> <strong>over a year ago</strong>, a new function was introduced to display comments called <a href="http://codex.wordpress.org/Template_Tags/wp_list_comments">wp_list_comments</a> which is known for supporting threaded comments as well.  In addition to threaded commments, it also <strong>outputs a class automatically</strong> which can be used to <a href="http://www.wprecipes.com/how-to-style-author-comments-in-wordpress-27">style author comments in WordPress 2.7</a>.</p>
<h3>Screencast</h3>
<p>In this screencast, I go over the various classes added to a comment made by a post author.  I also go over how to style the <code>.bypostauthor</code> class.</p>
<p><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='530' height='323'><param name='movie' value='http://screenr.com/Content/assets/screenr_1116090935.swf' /><param name='flashvars' value='i=51194' /><param name='allowFullScreen' value='true' /><embed src='http://screenr.com/Content/assets/screenr_1116090935.swf' flashvars='i=51194' allowFullScreen='true' width='530' height='323' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></object></p>
<p><strong>Code Examples in Video:</strong></p>
<ul>
<li><code>.bypostauthor { background: #000; }</code> /* Sets a black background on post author comments. */</li>
<li><code>.bypostauthor { background: #000 !important; }</code> /* Overrides any other background colors. */</li>
<li><code>.commentlist .bypostauthor { background: #000; }</code> /* Another way to override other background colors (depends on how your theme is coded) */</li>
</ul>
<p>In case you&#8217;re wondering, I was using the <a href="http://getfirebug.com/">Firebug</a> Firefox extension to inspect the element as well as test out the CSS code.  Definitely a must-have addon for coders.</p>
<p><span id="more-1641"></span></p>
<h3>Custom Callback?</h3>
<p>If you&#8217;re using a custom callback in conjunction with wp_list_comments, all you need to do is make sure the <a href="http://codex.wordpress.org/Template_Tags/comment_class">comment_class</a> function is present in your callback, which will generate the same classes on each comment.</p>
<p>For an example of this, check out ThemeShaper&#8217;s <a href="http://themeshaper.com/wordpress-theme-comments-template-tutorial/">tutorial on creating a comments template</a>, check out where <code>&lt;?php comment_class() ?&gt;</code> is added, and copy it in the same place of your own custom callback (assuming it&#8217;s not already there).</p>
<h3>Conclusion</h3>
<p>If you&#8217;re using an outdated theme that does not use wp_list_comments, the code from the first link should be just fine.  If you&#8217;re using wp_list_comments, this is a much better and easier solution to implement, as you probably won&#8217;t have to modify any PHP in your theme (unless of course you have a custom callback).</p>
<p>Anyway, hope you liked the CSS tip.  Let me know what you think in the comments.  Also, do you prefer screencasts plus text, or just text?</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2008/05/20/change-your-wordpress-author-name-please/' rel='bookmark' title='Permanent Link: Change Your WordPress Author Name&#8230;Please'>Change Your WordPress Author Name&#8230;Please</a></li><li><a href='http://www.themelab.com/2010/02/24/how-to-create-a-comments-central-page-template-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Comments Central Page Template in WordPress'>How to Create a Comments Central Page Template in WordPress</a></li><li><a href='http://www.themelab.com/2008/05/09/add-gravatar-support-to-your-wordpress-comments/' rel='bookmark' title='Permanent Link: Add Gravatar Support to Your WordPress Comments'>Add Gravatar Support to Your WordPress Comments</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=Z960F60WhWQ:_6L4l_SKHFw:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=Z960F60WhWQ:_6L4l_SKHFw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=Z960F60WhWQ:_6L4l_SKHFw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=Z960F60WhWQ:_6L4l_SKHFw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=Z960F60WhWQ:_6L4l_SKHFw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=Z960F60WhWQ:_6L4l_SKHFw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=Z960F60WhWQ:_6L4l_SKHFw:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/highlight-author-comments-in-wordpress-the-easier-right-way.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Hide the WordPress Stats Smiley the Right Way</title>
		<link>http://eshare.net.ru/how-to-hide-the-wordpress-stats-smiley-the-right-way.html</link>
		<comments>http://eshare.net.ru/how-to-hide-the-wordpress-stats-smiley-the-right-way.html#comments</comments>
		<pubDate>Sat, 27 Feb 2010 14:35:36 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=1572</guid>
		<description><![CDATA[For anyone who uses the WordPress.com stats plugin, you&#8217;ll notice it inserts a small smiley image in your footer.  This image needs to be loaded to track the stats.
Some people might think this little smiley face is &#8220;cute&#8221;.  The rest of you will find the smiley image unsightly (and possibly evil looking) and [...]


Related posts:<ol><li><a href='http://www.themelab.com/2008/09/03/wordpress-smiley-spam-technique/' rel='bookmark' title='Permanent Link: WordPress Smiley Spam Technique'>WordPress Smiley Spam Technique</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.themelab.com/wp-content/uploads/smiley.jpg" alt="Smiley" style="float:left;margin-right:10px" />For anyone who uses the <a href="http://wordpress.org/extend/plugins/stats/">WordPress.com stats plugin</a>, you&#8217;ll notice it inserts a small smiley image in your footer.  This image needs to be loaded to track the stats.</p>
<p>Some people might think this little smiley face is &#8220;cute&#8221;.  The rest of you will find the smiley image unsightly (and possibly evil looking) and will look for ways to remove it.  This post will go over:</p>
<ul>
<li>First of all, what <strong>not</strong> to do when hiding the smiley</li>
<li>How to properly hide it, with some extra absolute position goodness for certain layouts</li>
<li>If you&#8217;d rather not hide it, how to easily center the smiley image</li>
</ul>
<p><span id="more-1572"></span></p>
<h3>What Not to Do</h3>
<p><strong>Don&#8217;t ever use <span style="color:red">display:none</span> to hide the WP Stats Smiley.</strong></p>
<p>First of all, I want to go over the one thing you <strong>shouldn&#8217;t do</strong> when attempting to hide the WP Stats Smiley, and that&#8217;s use: <code>display:none</code>.  Yeah, I said that twice, but I was just making sure you didn&#8217;t miss it.</p>
<p>Yeah, that&#8217;s the same code you can use to get a <a href="http://www.themelab.com/2010/02/14/get-a-css-killswitch-effect-with-only-one-line-of-code/">CSS Killswitch effect</a>, but it&#8217;s definitely not something you want to be using to not display an image, which needs to be loaded to accurately display stats.</p>
<h3>What to do instead</h3>
<p>According to <a href="http://andy.wordpress.com/2007/05/05/automattic-stats-for-self-hosted-wordpress/">this post</a>, the developer recommends to use the following code to your stylesheet (i.e. <code>style.css</code>) if you wish to hide the smiley:</p>
<pre><code>img#wpstats{width:0px;height:0px;overflow:hidden}</code></pre>
<p>Something similar to the above code would be the following:</p>
<pre><code>img#wpstats{visibility:hidden}</code></pre>
<p>The <a href="http://webdesign.about.com/od/css/f/blfaqhidden.htm">difference between visibility:hidden and display:none</a> is visibility:hidden will still take up space in the design, while display:none will not (and remember, you can&#8217;t use display:none unless you want your stat tracking to be borked).</p>
<p>On certain layouts, there is a small problem with this code taking up space below the footer, so I&#8217;ve thought of a more creative solution.</p>
<p>Here&#8217;s an example of what I&#8217;m talking about, notice the smiley in the lower left corner which is causing the footer layout to break.</p>
<p style="text-align:center"><img src="http://www.themelab.com/wp-content/uploads/slick-smiley-before.gif" alt="Evil Smiley" /></p>
<p>With the two above examples, the image, while not visible, would still take up space in the layout causing that light gray bar (which is the background color) to appear in the footer.</p>
<h3>Absolute Positioning</h3>
<p>A combination of absolute positioning plus the code above is a good way to eliminate this issue.  You could try something like this:</p>
<pre><code>img#wpstats{position:absolute;top:0;width:0px;height:0px;overflow:hidden}</code></pre>
<h3>Centering the Image</h3>
<p>Depending on your layout, instead of hiding it, it may look somewhat better if the smiley image was centered.  You can easily do this with the following snippet of code.</p>
<pre><code>img#wpstats{display:block;margin: 0 auto}</code></pre>
<p><strong>Explanation:</strong></p>
<ul>
<li>Sets the image to display as block (instead of inline, by default).</li>
<li>Sets the left and right margins to automatic to effectively center the now block image.</li>
</ul>
<p>You can use this CSS to properly center pretty much any &#8220;img&#8221; tag without using additional markup.</p>
<h3>Conclusion</h3>
<p>By the way, if you use the <a href="http://wordpress.org/extend/plugins/wordpresscom-stats-smiley-remover/">WP Stats Smiley Remover</a> plugin, don&#8217;t.  Because all it does it add the &#8220;display:none&#8221; CSS to your header.  The exact thing you&#8217;re <strong>not supposed to do</strong>.</p>
<p>Hope you liked the WordPress/CSS tip.  Like the <a href="http://www.themelab.com/2010/02/14/get-a-css-killswitch-effect-with-only-one-line-of-code/" title="Get a CSS Killswitch Effect With Only One Line of Code">last one</a>, I know this was relatively simple.  I can do more advanced ones, so if you have any requests for quick CSS tips like this, let me know in the comments.</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2008/09/03/wordpress-smiley-spam-technique/' rel='bookmark' title='Permanent Link: WordPress Smiley Spam Technique'>WordPress Smiley Spam Technique</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=sYiDnjsHua8:tk3X23dilfg:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=sYiDnjsHua8:tk3X23dilfg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=sYiDnjsHua8:tk3X23dilfg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=sYiDnjsHua8:tk3X23dilfg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=sYiDnjsHua8:tk3X23dilfg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=sYiDnjsHua8:tk3X23dilfg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=sYiDnjsHua8:tk3X23dilfg:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/how-to-hide-the-wordpress-stats-smiley-the-right-way.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get a CSS Killswitch Effect With Only One Line of Code</title>
		<link>http://eshare.net.ru/get-a-css-killswitch-effect-with-only-one-line-of-code.html</link>
		<comments>http://eshare.net.ru/get-a-css-killswitch-effect-with-only-one-line-of-code.html#comments</comments>
		<pubDate>Sun, 14 Feb 2010 13:54:05 +0000</pubDate>
		<dc:creator>Leland</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[ThemeLab]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.themelab.com/?p=1521</guid>
		<description><![CDATA[I recently came across a site on Twitter called CSS Killswitch.  What is it exactly?  According to their site: &#8220;CSS Killswitch lets you non-destructively black out a difficult client&#8217;s website with the click of a button.&#8221;
The Code
If you try out their &#8220;two second demo&#8221; you&#8217;ll see all it basically does it make your [...]


Related posts:<ol><li><a href='http://www.themelab.com/2008/06/15/dipslaying-code-in-wordpress-posts/' rel='bookmark' title='Permanent Link: Dipslaying Code In WordPress Posts'>Dipslaying Code In WordPress Posts</a></li><li><a href='http://www.themelab.com/2010/02/27/hide-the-wordpress-stats-smiley/' rel='bookmark' title='Permanent Link: How to Hide the WordPress Stats Smiley the Right Way'>How to Hide the WordPress Stats Smiley the Right Way</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I recently came across a site on Twitter called <a href="http://csskillswitch.com/">CSS Killswitch</a>.  What is it exactly?  According to their site: &#8220;CSS Killswitch lets you non-destructively black out a difficult client&#8217;s website with the click of a button.&#8221;</p>
<h3>The Code</h3>
<p>If you try out their &#8220;two second demo&#8221; you&#8217;ll see all it basically does it make your page go completely blank.  You can accomplish <strong>pretty much the same thing</strong> by placing the following bit of CSS code in your stylesheet.</p>
<p><code>* { display: none; }</code></p>
<p>If you notice anything still visible, you probably have some <a href="http://webdesign.about.com/od/css/f/blcssfaqimportn.htm" title="What does !important mean in CSS?">!important</a> things you need to take care of as well.</p>
<p><span id="more-1521"></span></p>
<h3>Explanation</h3>
<ul>
<li>The asterisk selector (*) acts as a wildcard, and selects all elements within the page.</li>
<li>The &#8220;display: none&#8221; means nothing will be displayed on that selector.</li>
<li>Combined with the asterisk selector, effectively <strong>everything on the page is not displayed</strong>.</li>
</ul>
<h3>Downside</h3>
<p>If your client knows anything about CSS, they&#8217;ll probably be able to <strong>easily identify this line of code and remove it</strong>.  You can try to be creative with it and put it somewhere a client will not be likely to look.</p>
<p>According to the CSS Killswitch website, removing their method of hiding the page is as <strong>easy as identifying the offending CSS link</strong> and removing it.</p>
<h3>Thoughts</h3>
<p>I guess this is all done under the <strong>assumption that your clients are not aware of basic CSS techniques</strong> and therefore will be dumbfounded enough into finally paying you (the designer) for your work.</p>
<p>This <em>might</em> be useful if a client refuses to pay for work, but I&#8217;d only recommend using something like this as an absolute last resort.</p>
<h3>Conclusion</h3>
<p>Yeah, I know you CSS experts reading are probably already well aware of the asterisk selector and display: none.  For everyone else, <strong>would you be interested in more if these quick CSS tip posts</strong>?</p>
<p>I&#8217;d be interested to hear your thoughts on more CSS tip posts, and the premise behind these methods of &#8220;disabling&#8221; pages for non-paying clients.  What about the <strong>legality and ethics</strong> of doing such a thing?</p>
<p>Sound off in the comments.</p>


<p>Related posts:<ol><li><a href='http://www.themelab.com/2008/06/15/dipslaying-code-in-wordpress-posts/' rel='bookmark' title='Permanent Link: Dipslaying Code In WordPress Posts'>Dipslaying Code In WordPress Posts</a></li><li><a href='http://www.themelab.com/2010/02/27/hide-the-wordpress-stats-smiley/' rel='bookmark' title='Permanent Link: How to Hide the WordPress Stats Smiley the Right Way'>How to Hide the WordPress Stats Smiley the Right Way</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ThemeLab?a=53HOIbeF2NQ:Fe8lU-V30b8:hJo_UCMZ9e0"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=hJo_UCMZ9e0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=53HOIbeF2NQ:Fe8lU-V30b8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=53HOIbeF2NQ:Fe8lU-V30b8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=53HOIbeF2NQ:Fe8lU-V30b8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/ThemeLab?i=53HOIbeF2NQ:Fe8lU-V30b8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=53HOIbeF2NQ:Fe8lU-V30b8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ThemeLab?a=53HOIbeF2NQ:Fe8lU-V30b8:3Nb2VdUv6vk"><img src="http://feeds.feedburner.com/~ff/ThemeLab?d=3Nb2VdUv6vk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://eshare.net.ru/get-a-css-killswitch-effect-with-only-one-line-of-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

