<?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>CSS Hints</title>
	<atom:link href="http://www.csshints.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csshints.com</link>
	<description>Tips and solutions for your CSS problems</description>
	<lastBuildDate>Mon, 21 Nov 2011 15:18:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Symbolic link not allowed or link target not accessible</title>
		<link>http://www.csshints.com/2011/11/symbolic-link-not-allowed-or-link-target-not-accessible/</link>
		<comments>http://www.csshints.com/2011/11/symbolic-link-not-allowed-or-link-target-not-accessible/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 15:18:57 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=127</guid>
		<description><![CDATA[To fix, create or edit an .htaccess file in the same folder as the symlink. Insert the following line: Options +FollowSymLinks -SymLinksIfOwnerMatch Tweet]]></description>
			<content:encoded><![CDATA[<p>To fix, create or edit an .htaccess file in the same folder as the symlink. Insert the following line:</p>
<p>Options +FollowSymLinks -SymLinksIfOwnerMatch</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D127&count=none&related=&text=Symbolic%20link%20not%20allowed%20or%20link%20target%20not%20accessible' class='twitter-share-button' data-text='Symbolic link not allowed or link target not accessible' data-url='http://www.csshints.com/?p=127' data-counturl='http://www.csshints.com/2011/11/symbolic-link-not-allowed-or-link-target-not-accessible/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/11/symbolic-link-not-allowed-or-link-target-not-accessible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Entities in Unicode Format</title>
		<link>http://www.csshints.com/2011/10/html-entities-in-unicode-format/</link>
		<comments>http://www.csshints.com/2011/10/html-entities-in-unicode-format/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 16:47:51 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[pseudo]]></category>
		<category><![CDATA[selector]]></category>
		<category><![CDATA[unicode]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=125</guid>
		<description><![CDATA[See here for an extensive list of HTML entities in escaped unicode format &#8211; great for inserting content using the :before CSS pseudo class selector. [...]]]></description>
			<content:encoded><![CDATA[<p>See here for an extensive list of HTML entities in escaped unicode format &#8211; great for inserting content using the :before CSS pseudo class selector.</p>
<p><a title="HTML Entities in Unicode" href="http://www.evotech.net/blog/2007/04/named-html-entities-in-numeric-order/" target="_blank">http://www.evotech.net/blog/2007/04/named-html-entities-in-numeric-order/</a></p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D125&count=none&related=&text=HTML%20Entities%20in%20Unicode%20Format' class='twitter-share-button' data-text='HTML Entities in Unicode Format' data-url='http://www.csshints.com/?p=125' data-counturl='http://www.csshints.com/2011/10/html-entities-in-unicode-format/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/10/html-entities-in-unicode-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone only stylesheet</title>
		<link>http://www.csshints.com/2011/10/iphone-only-stylesheet/</link>
		<comments>http://www.csshints.com/2011/10/iphone-only-stylesheet/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 09:02:03 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[CSS 3.0]]></category>
		<category><![CDATA[Safari Problems]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=123</guid>
		<description><![CDATA[If you want to include styles that will only apply to an iPhone you can do so by using and @media declaration within your main [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to include styles that will only apply to an iPhone you can do so by using and @media declaration within your main stylesheet.</p>
<blockquote><p>@media screen and (max-device-width: 480px){<br />
h2 { font-size:22px; }<br />
}</p></blockquote>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D123&count=none&related=&text=iPhone%20only%20stylesheet' class='twitter-share-button' data-text='iPhone only stylesheet' data-url='http://www.csshints.com/?p=123' data-counturl='http://www.csshints.com/2011/10/iphone-only-stylesheet/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/10/iphone-only-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSHFS Symlinks</title>
		<link>http://www.csshints.com/2011/08/sshfs-symlinks/</link>
		<comments>http://www.csshints.com/2011/08/sshfs-symlinks/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 11:15:53 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Command line]]></category>
		<category><![CDATA[Off Topic]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=120</guid>
		<description><![CDATA[Using the default settings, symlink on sshfs don&#8217;t work. You can add an option with the -o flag that will get these working properly: sshfs [...]]]></description>
			<content:encoded><![CDATA[<p>Using the default settings, symlink on sshfs don&#8217;t work.</p>
<p>You can add an option with the -o flag that will get these working properly:</p>
<blockquote><p>sshfs user@host:/path/to/mount/ ~/mountpoint -oauto_cache,reconnect,volname=mountname,defer_permissions,transform_symlinks,follow_symlinks</p></blockquote>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D120&count=none&related=&text=SSHFS%20Symlinks' class='twitter-share-button' data-text='SSHFS Symlinks' data-url='http://www.csshints.com/?p=120' data-counturl='http://www.csshints.com/2011/08/sshfs-symlinks/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/08/sshfs-symlinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP MySQL won&#8217;t start</title>
		<link>http://www.csshints.com/2011/08/mamp-mysql-wont-start/</link>
		<comments>http://www.csshints.com/2011/08/mamp-mysql-wont-start/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 06:12:00 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Command line]]></category>
		<category><![CDATA[Server side]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=116</guid>
		<description><![CDATA[If you use MAMP for local PHP/MySQL development on OS X then you&#8217;re likely to come across this problem with MySQL starting once in a [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a title="Mac,Apache,MySQL,PHP" href="http://www.mamp.info/">MAMP</a> for local PHP/MySQL development on OS X then you&#8217;re likely to come across this problem with MySQL starting once in a while.</p>
<p>MAMP is a great bit of software but every now and then you will see that MySQL has a problem starting. Checking PHPMyAdmin you might see “Error: Could not connect to MySQL server!”.</p>
<p>Don&#8217;t despair, there is a very quick fix:</p>
<ol>
<li>Quit MAMP</li>
<li>Open terminal and type: <code>sudo killall -9 mysqld</code></li>
<li>Reopen MAMP</li>
</ol>
<p>That will fix it but if it&#8217;s still not working you can try visiting <a href="http://forum.mamp.info/viewtopic.php?p=515#515">this MAMP forum thread</a> for more details.</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D116&count=none&related=&text=MAMP%20MySQL%20won%26%23039%3Bt%20start' class='twitter-share-button' data-text='MAMP MySQL won&#039;t start' data-url='http://www.csshints.com/?p=116' data-counturl='http://www.csshints.com/2011/08/mamp-mysql-wont-start/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/08/mamp-mysql-wont-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should I use a class or an ID?</title>
		<link>http://www.csshints.com/2011/07/should-i-use-a-class-or-an-id/</link>
		<comments>http://www.csshints.com/2011/07/should-i-use-a-class-or-an-id/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 18:38:55 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Beginners]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ID]]></category>
		<category><![CDATA[selector]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=113</guid>
		<description><![CDATA[A CSS tip for beginners today. You might have wondered why CSS uses both classes and IDs. Well, the answer is very simple: A CSS [...]]]></description>
			<content:encoded><![CDATA[<p>A CSS tip for beginners today. You might have wondered why CSS uses both classes and IDs. Well, the answer is very simple:</p>
<blockquote><p>A CSS id should only be used once per page.</p>
<p>A CSS class cam be used on multiple items on a page.</p></blockquote>
<p>It&#8217;s also important to note that IDs also take precedence over classes. Any CSS selector that uses an ID will override one that only uses a class.</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D113&count=none&related=&text=Should%20I%20use%20a%20class%20or%20an%20ID%3F' class='twitter-share-button' data-text='Should I use a class or an ID?' data-url='http://www.csshints.com/?p=113' data-counturl='http://www.csshints.com/2011/07/should-i-use-a-class-or-an-id/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/07/should-i-use-a-class-or-an-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL command to reset WordPress password</title>
		<link>http://www.csshints.com/2011/07/sql-command-to-reset-wordpress-password/</link>
		<comments>http://www.csshints.com/2011/07/sql-command-to-reset-wordpress-password/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 08:32:53 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Command line]]></category>
		<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Server side]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=108</guid>
		<description><![CDATA[The quickest and easiest way to change your WordPress admin password. Just enter this SQL command directly on your server. UPDATE wp_users SET user_pass = [...]]]></description>
			<content:encoded><![CDATA[<p>The quickest and easiest way to change your WordPress admin password. Just enter this SQL command directly on your server.</p>
<blockquote>
<pre><code>UPDATE wp_users SET user_pass = MD5('newpassword') WHERE user_login = "admin";</code></pre>
</blockquote>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D108&count=none&related=&text=SQL%20command%20to%20reset%20Wordpress%20password' class='twitter-share-button' data-text='SQL command to reset Wordpress password' data-url='http://www.csshints.com/?p=108' data-counturl='http://www.csshints.com/2011/07/sql-command-to-reset-wordpress-password/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/07/sql-command-to-reset-wordpress-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra mail suddenly stopped working</title>
		<link>http://www.csshints.com/2011/06/zimbra-mail-suddenly-stopped-working/</link>
		<comments>http://www.csshints.com/2011/06/zimbra-mail-suddenly-stopped-working/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 07:26:10 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Command line]]></category>
		<category><![CDATA[Off Topic]]></category>
		<category><![CDATA[Server side]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=104</guid>
		<description><![CDATA[After a couple of days with no mail I decided that something must be wrong. A quick check of the logs showed a problem. I [...]]]></description>
			<content:encoded><![CDATA[<p>After a couple of days with no mail I decided that something must be wrong. A quick check of the logs showed a problem.</p>
<p>I tailed the log file while I sent myself an email from another account:</p>
<blockquote><p>tail -f /var/log/mail.log</p></blockquote>
<p>The mail tried to be delivered but there was an error occurring:</p>
<blockquote><p>127.0.0.1[127.0.0.1]:10024: Connection refused</p></blockquote>
<p>It seems the Zimbra mailserver was not accepting connections. This was easily resolved with a quick restart.</p>
<blockquote><p>zmcontrol stop</p>
<p>zmcontrol start</p></blockquote>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D104&count=none&related=&text=Zimbra%20mail%20suddenly%20stopped%20working' class='twitter-share-button' data-text='Zimbra mail suddenly stopped working' data-url='http://www.csshints.com/?p=104' data-counturl='http://www.csshints.com/2011/06/zimbra-mail-suddenly-stopped-working/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/06/zimbra-mail-suddenly-stopped-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set table caption location using CSS</title>
		<link>http://www.csshints.com/2011/05/set-table-caption-location-using-css/</link>
		<comments>http://www.csshints.com/2011/05/set-table-caption-location-using-css/#comments</comments>
		<pubDate>Thu, 26 May 2011 15:23:53 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[IE Problems]]></category>
		<category><![CDATA[Positioning]]></category>
		<category><![CDATA[caption]]></category>
		<category><![CDATA[cell]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=100</guid>
		<description><![CDATA[If you use table captions on your site and want to be able to define the caption location there is a little used CSS rule [...]]]></description>
			<content:encoded><![CDATA[<p>If you use table captions on your site and want to be able to define the caption location there is a little used CSS rule called caption-location.</p>
<p>Internet Explorer puts the caption underneath the table, for example. If you want to put the caption above the table just add:</p>
<blockquote><p>caption-side:top;</p></blockquote>
<p>Now your table caption will sit at the top.</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D100&count=none&related=&text=Set%20table%20caption%20location%20using%20CSS' class='twitter-share-button' data-text='Set table caption location using CSS' data-url='http://www.csshints.com/?p=100' data-counturl='http://www.csshints.com/2011/05/set-table-caption-location-using-css/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/05/set-table-caption-location-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Style hyperlinks by filetype</title>
		<link>http://www.csshints.com/2011/05/style-hyperlinks-by-filetype/</link>
		<comments>http://www.csshints.com/2011/05/style-hyperlinks-by-filetype/#comments</comments>
		<pubDate>Sun, 22 May 2011 09:53:14 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[All browsers]]></category>
		<category><![CDATA[CSS 3.0]]></category>
		<category><![CDATA[conditional comments]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[selector]]></category>

		<guid isPermaLink="false">http://www.csshints.com/?p=97</guid>
		<description><![CDATA[You&#8217;re probably seen those links with the little icons next to them. It might have been a mailto link or a link to a PDF [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re probably seen those links with the little icons next to them. It might have been a mailto link or a link to a PDF file, but you knew what it was going to be before you clicked on it because it had the small icon next to it.</p>
<p>This is probably because the web designer had included a little trick that styles links based on the content that they point to.</p>
<p>Taking the PDF example, imagine you wanted a small PDF icon to appear automatically to the left of your link. The first thing you need to do is add some padding to the left so that the text doesn&#8217;t overlap the icon.</p>
<blockquote>
<pre><code>a{
   padding-left: 20px;
}</code></pre>
</blockquote>
<p>Next you&#8217;ll want to add the actual icon, so our CSS selector will look like this:</p>
<blockquote>
<pre><code>a{
   padding-left: 20px;
   background: url(icon_pdf.gif) no-repeat left;
}</code></pre>
</blockquote>
<p>The final step is that we only want this to apply to links that point to a pdf file. We don&#8217;t want to have to add a class to every PDF link either, we need it to happen automatically.</p>
<blockquote>
<pre><code>a[href $='.pdf']{
   padding-left: 20px;
   background: url(icon_pdf.gif) no-repeat left;
}</code></pre>
</blockquote>
<p>Finished. This selector will now apply to any where the href ends in .pdf.</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.csshints.com%2F%3Fp%3D97&count=none&related=&text=Style%20hyperlinks%20by%20filetype' class='twitter-share-button' data-text='Style hyperlinks by filetype' data-url='http://www.csshints.com/?p=97' data-counturl='http://www.csshints.com/2011/05/style-hyperlinks-by-filetype/' data-count='none' data-via='CSSHints'>Tweet</a>]]></content:encoded>
			<wfw:commentRss>http://www.csshints.com/2011/05/style-hyperlinks-by-filetype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

