<?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>WebDea &#187; how to use</title>
	<atom:link href="http://www.webdea.com/tag/how-to-use/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdea.com</link>
	<description>Converting PSD 2 HTML, xHTML, CSS, Wordpress, Joomla, Drupal</description>
	<lastBuildDate>Tue, 07 Dec 2010 12:48:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>CSS Hacks for… Everyone</title>
		<link>http://www.webdea.com/css-hacks.html</link>
		<comments>http://www.webdea.com/css-hacks.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:10:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[how to use]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=27</guid>
		<description><![CDATA[<a href="http://www.webdea.com/css-hacks.html"><img src="http://farm5.static.flickr.com/4013/4306190749_fd0534c29b_o.jpg" alt="CSS Hacks to know" align="left"></a>Here you can find all the necessary data concerning CSS hacks for Safari, Internet Explorer 7, Opera, etc., that sometimes really make problems. It is not so easy to remember them at once, so I write down several of them and offer you to use my “notes”. Hope that make your life easier… ]]></description>
			<content:encoded><![CDATA[<p>Today I want to talk about CSS hacks. <img src="http://farm5.static.flickr.com/4043/4306191275_970420d6da_o.jpg" alt="CSS Hacks to remember" align="right">There is no reason to explain why, because even with the release of Internet Explorer 8 we still need to use them. It seems that we will use them forever… especially with those clients who still prefer that damned IE6. </p>
<p>To remember all the CSS hacks seem to be impossible so I decide to create such a list that can be of use for you too. </p>
<p> So, let’s start. </p>
<h3>CSS for Internet Explorer:</h3>
<blockquote><p>/* for all versions */<br />
.class { *color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 6 */<br />
.class { _color: #8abdce; }<br />
or<br />
.class { -color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* /* for Internet Explorer 7 */<br />
*+html .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 7 */<br />
*:first-child+html .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 7 */<br />
html>body .class {<br />
*background: #F00;<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 8 */<br />
.ie8only { color /*\**/: #fff\9 }</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Opera:</h3>
<p><img src="http://farm5.static.flickr.com/4031/4306193131_20ce258a2b_o.jpg" alt="CSS Hacks for all" align="right"></p>
<blockquote><p>@media all and (-webkit-min-device-pixel-ratio:10000),<br />
not all and (-webkit-min-device-pixel-ratio:0) {<br />
.style {background: #F00;}<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>html:first-child .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>*|html[xmlns*=""] .style {<br />
background: #F00;<br />
}</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Firefox:</h3>
<blockquote><p>html:root .class { color: #8abdce; } /* this also works for Safari */</p></blockquote>
<p></br></p>
<blockquote><p>.class, x:-moz-any-link { color: #368EF1; }</p></blockquote>
<p></br></p>
<blockquote><p>@-moz-document url-prefix() {<br />
.style {color: #F00;}<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>/* for FireFox 1-2 */<br />
@-moz-document url-prefix() {<br />
color: #F00;<br />
}</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Safari:</h3>
<blockquote><p>html[xmlns*=""] body:last-child .class { color: #368EF1; }</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Safari and Google Chrome:</h3>
<blockquote><p>body:last-child:not(:root:root) .style {<br />
color: #F00;<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>body:nth-of-type(1) p {<br />
color: #333333;<br />
}</p></blockquote>
<p></br></p>
<p>Of course, hacks are evil, but sometimes they help to solve the problems. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/css-hacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

