<?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; opera</title>
	<atom:link href="http://www.webdea.com/tag/opera/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>Browsers Wars</title>
		<link>http://www.webdea.com/browsers-wars.html</link>
		<comments>http://www.webdea.com/browsers-wars.html#comments</comments>
		<pubDate>Tue, 28 Sep 2010 11:17:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[browsers wars]]></category>
		<category><![CDATA[compete]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=409</guid>
		<description><![CDATA[<a href="http://www.webdea.com/browsers-wars.html"><img src="http://farm5.static.flickr.com/4125/4950556069_a04f13b47e_m.jpg" alt="browsers wars to know" align="left"></a>War is evil or just another chance for improvement? The latter statement can be true for browsers development history. Today we can observe the battle between IE, Mozilla, Opera and Safari. There are two battlefields but the results are obvious for global users. Notwithstanding various complaints, IE still doesn’t have adequate rival.]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm5.static.flickr.com/4091/4950557137_b9ec9beb16_m.jpg" alt="browser wars to remember" align="right" />War is evil or just another chance for improvement? The latter statement can be true for browsers development history. Today we can observe the battle between IE, Mozilla, Opera and Safari. There are two battlefields but the results are obvious for global users. Notwithstanding various complaints, IE still doesn’t have adequate rival. </p>
<p>Of course, Firefox slowly gaining in this competition, but still IE still dominates if we are talking about global usage. For many people internet still associates with the little blue e and maybe such tendency remains to be true for next generations. </p>
<p>The other war is all about the future of the browsers and this time the main heroes are developers and communities. With the help of web development community Firefox has such market share today. So, let’s be aware of the responsibility we have in this fight. </p>
<h3>IE – the Story of Success?</h3>
<p>Old times were simple. We have IE6 that ruined all our masterpieces in web development. So, any alternative to this appreciated greatly. With our sites look amazing in all other browsers except this, IE Microsoft got a bad reputation in the web development world.</p>
<p>Of course, Microsoft had interest in our problems but perhaps, its reaction was too slow. Thus, instead of good browser we had great ideas. Anyway we were able to fix the crap in IE6 with a separate CSS file. With conditional CSS files you can provide less than perfect software. </p>
<p>Some time passed and we got IE7. It was the time when IE6 lost its war and gained awful reputation. However, to be honest, a decent CSS professional could work around most bugs rather quickly. But that time we had IE7 that was a great improvement to IE6. Of course, it can’t be called perfect, but still some bugs disappear.<img src="http://farm5.static.flickr.com/4148/4951149252_89743ecb65_m.jpg" alt="browser tips" align="right" /></p>
<p>Today to make site for IE7 is as simple as for other browsers. Still we have a separate file with conditional comments, but Firefox, Safari and Opera also have their own drawbacks. </p>
<p>Not so long ago, IE8 was announced. It passed the acid2 test and positioned itself next to Opera leaving Safari and Firefox behind. We really can influence improvement in the browser situation – as it happened due to our criticism on IE6. However, there should be too many complaints to ditch Microsoft. But still they provided us with a browser that can really compete with its rivals. </p>
<p><em>Reference: www.onderhond.com/blog/work/the-browser-wars</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/browsers-wars.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Basics of Cross Browser Compatibility and CSS Hacks Usage</title>
		<link>http://www.webdea.com/cross-browser-compatibility.html</link>
		<comments>http://www.webdea.com/cross-browser-compatibility.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 13:01:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[intenet explorer]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=69</guid>
		<description><![CDATA[<a href="http://www.webdea.com/cross-browser-compatibility.html"><img src="http://farm3.static.flickr.com/2255/4514004287_717126490f_o.jpg" alt="Cross Browser Compatibility" align="left"></a>It is necessary for a good CSS developer to be familiar with the individual browsers and know what CSS versions and levels of compliancy they support. Take into consideration the flaws of IE design and the things that look perfect in Mozilla browsers and terrible in Internet Explorer as well as just break in Netscape.]]></description>
			<content:encoded><![CDATA[<p>Cross browser compatibility is one of the problematic issues of CSS (Cascading Style Sheets). The things that look perfect in Mozilla browsers can be terrible in Internet Explorer as well as just break in Netscape. Of course, the largest group of viewers use IE, but still web developers should take into consideration the flaws of IE design for all other browsers as well.</p>
<h3>Browsers – The Main Differences</h3>
<p><img src="http://farm5.static.flickr.com/4019/4514643736_700d70b7a1_o.jpg" alt="CSS Hacks to remember" align="right" /></p>
<p>It is necessary for a good CSS developer to be familiar with the individual browsers and know what CSS versions and levels of compliancy they support. Knowing why they do what they do is a crucial part. Of course, you may not know all the ins and outs of the browsers. Your task is to understand the vast majority of differences among them.</p>
<p>Here you can find some principles concerning each browser that help you a lot. The browsers that will be explained are Mozilla and Firefox, Safari, Internet Explorer 5+ for Windows and Mac, Opera and Netscape 6+.</p>
<p>There are quite a lot of other browsers such as Mozilla’s browser project Camino for Mac, Konqueror or Maxthon. In short, there are really too many of them to cover in this post. The other thing is that most of them are based on the same technologies as the browsers we have mentioned above. Thus, Maxthon is based on IE; and if it works on Firefox, it’s very likely going to work on Mozilla and Camino.</p>
<p><strong>Mozilla and Firefox</strong></p>
<p>The Mozilla Group offers you the open-source Gecko browser engine that is used by the Mozilla browser suite as well as by a diverse range of products. It should be noted that Gecko is highly standards-compliant. It is supported by many platforms. Firefox is a Mozilla browser. Such Mozilla based browsers like Firefox are considered to be the earliest browsers that support CSS quite well.</p>
<p><strong>Safari for Mac</strong></p>
<p>Safari is an OS X browser that uses a variant of Konqueror&#8217;s KHTML browser engine. There are three reasons why Apple chose to base Safari on KHTML instead of Gecko: KHTML was faster, KHTML&#8217;s source code is smaller and cleaner, and Apple doesn&#8217;t need Gecko&#8217;s multi-platform support.  On the whole, this browser behaves like Mozilla.</p>
<p><strong>Opera</strong></p>
<p>Made by Opera Software, the Opera browser can work with various operating systems including embedded systems. Opera is well known as fast, small and standards-compliant browser that is available on many platforms. It fully supports CSS 2.1, so your validated CSS will render properly in Opera with the strict doctype as well as in quirks mode.</p>
<p><strong>Netscape 6 and up</strong></p>
<p>In comparison with other browsers Netscape 6 has the best CSS support on the web. Only Mozilla browsers can be proud of fewer bugs. On the whole, Netscape is rather similar to Mozilla browsers and even tries to introduce a different type of style sheet in JavaScript in order to avoid CSS compliancy altogether.</p>
<p><strong>Internet Explorer 5 and up</strong></p>
<p>With the huge improvement in CSS support for Internet Explorer when Microsoft updated IE3 to IE4, as well as with newer versions of IE problems that have been  solved in version 6 for Windows and 5.5 for Mac, IE remains to be quite buggy. For example, IE6 for Windows doubles margins of floated elements or duplicate text in multiple floats as well. All these issues can’t be covered within one article, so let’s try to find out the things that make different with regards to CSS compatibility.</p>
<p>Why are these browsers so different? The answer on this question is quite simple. There are no standards adopted by all the browser vendors. Thus, you need some practice and skill to make your site look the same across all the browsers.</p>
<p>The other important thing to consider is that Internet Explorer is used by almost 70% of people, while only about 30% use non-Microsoft browsers. Thus, among newest browsers IE provides you with the biggest problems with regards to compatibility. The main problem with IE is that is tries to assume what to do, instead of following your CSS instructions. It also doesn’t support many CSS standards that Mozilla and Netscape browsers do.</p>
<h3>Make Them Perfect for Your Page</h3>
<p><img src="http://farm3.static.flickr.com/2312/4514644128_64bbf5d8e5_o.jpg" alt="CSS Hacks For Cross Browser" align="right" /></p>
<p>Putting your web page for IE into quirks mode can help you to make IE do what you need. Quirks mode is a rendering mode where a browser tries to handle sloppy code in the way that they did in the mid- to late 90&#8242;s. This quirks mode allows the browser to imitate bugs in earlier browser versions so that they render the old, quirkily coded pages exactly the same as they used to.</p>
<p>However, if you put your page into quirks mode for IE you also do it for other browsers. Thus, you need to use a trigger that will switch between strict mode and quirks mode depending upon the type of browser. This is known as “doctype switching” and is supported by most modern browsers. According to the standards, any (X)HTML document should have a doctype which informs the browser of the version of (X)HTML the document is using.  Here is the example of doctype:</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>Strict mode is also supported by modern browsers. To trigger strict mode the presence of the doctype is quite enough. In other words, your page doesn’t have to validate according to the chosen doctype. However, as any rule it has its exception. In IE6, the page displays in quirks mode if a doctype that triggers strict mode is preceded by an xml prologue:</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;iso-8859-1&#8243;?&gt;</p>
<p>Thus, CSS coders can achieve valid pages that require a doctype, but still want their pages to render in quirks mode. Note that older browsers ignore this tag and doctype switching. They operate in quirks mode anyway.</p>
<h3>Another Solution to Try</h3>
<p>Creating multiple style sheets for multiple browsers is another solution of cross-browser compatibility. You just need to use a JavaScript code to return the version and type of browser the web visitor is using. Design issues are the other thing to pay attention to and CSS hacks that can help you a lot.</p>
<p>The “html&gt;body” selector is the first one to consider. It selects any body element that is a child of an HTML element. In order to interpret correctly, compliant browsers (except IE) need white space on either side of the child selector (html &gt; body or html&gt; body or html &gt;body:</p>
<blockquote><p>html&gt;body { overflow: visible; } /* show to IE */<br />
body { overflow: auto; } /* show to everyone else */</p></blockquote>
<p>Here is the underscore hack, which allows you to show CSS only to IE excluding all other browsers:</p>
<blockquote><p>body {<br />
background: blue; /* show to Mozilla/Safari/Opera */<br />
_background: red; /* show to IE */<br />
}</p></blockquote>
<p>This is quite useful if you need to give IE a set of separate instructions because something will appear wrong if you don’t.</p>
<p>However, this hack won’t work in IE5 for Mac. Thus, you need extra hack that is known as the Mac Backslash Hack. It allows IE5/Mac to ignore any CSS rules contained within the hack’s boundaries. Using a backslash before the asterisk: \*/ you hide the end-comment marker for IE5/Mac. In other words, IE5/Mac accepts anything which follows as a part of the comment while all other browsers understand and apply the following rules:</p>
<blockquote><p>body {<br />
background: blue; /* show to Mozilla/Safari/Opera */<br />
_background: red; /* show to IE */<br />
/* commented backslash hack for IE5-Mac \*/<br />
background: green;<br />
/* end hack */<br />
}</p></blockquote>
<p>As you see, CSS hacks can be rather complicated in case you don’t understand the bugs that the browsers have to begin with. Hope this info help you in some way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/cross-browser-compatibility.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Browser Detection Using CSS Hacks Explained</title>
		<link>http://www.webdea.com/cross-browser-css-hacks.html</link>
		<comments>http://www.webdea.com/cross-browser-css-hacks.html#comments</comments>
		<pubDate>Tue, 06 Apr 2010 12:57:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=45</guid>
		<description><![CDATA[<a href="http://www.webdea.com/cross-browser-css-hacks.html"><img src="http://farm3.static.flickr.com/2684/4496316573_5d347e39a9_o.jpg" alt="browser CSS Hacks to know" align="left"></a>All we know that CSS more attractive for web developers. However, there are still some problems that keep the developers from using it. The problem is in interpreting CSS commands in different ways that is a usual thing for browsers. Learn more about CSS and different browser interpretations stop to be a mystery for you. ]]></description>
			<content:encoded><![CDATA[<p>Quicker download time, easier site management as well as improved accessibility make CSS more attractive for web developers. However, there are still some problems that keep the developers from using CSS to control the layouts of the site. Let’s try to solve some of them. </p>
<h3>Mad with CSS?</h3>
<p><img src="http://farm5.static.flickr.com/4006/4496317117_3fb0f864ec_o.jpg" alt="cross browser CSS Hacks" align="right"></p>
<p>Today there are no problems concerning a lack of browser support for CSS because &#8216;version 5&#8242; browsers began to offer a full implementation of CSS. The problem is in interpreting CSS commands in different ways that is a usual thing for browsers. With such tricks appeared, many web developers prefer to switch back to pixel-perfect table layouts. But wait! Just learn more about CSS and different browser interpretations stop to be a mystery for you. What is more, there are not so many of them and using various hacks makes you life easier.</p>
<h3>How CSS Hacks Turn ‘Mad With’ Into ‘Mad About’</h3>
<p>CSS hacks work by sending one CSS rule to the browser or several browsers for your choice and the second CSS rule that overrides the first command to the other browsers. In case you have two CSS rules within the same selectors, the second CSS rule will almost always take priority. </p>
<p>For example, you need the space between a page&#8217;s header area and content to 25px in Internet Explorer. It may be great for Internet Explorer, but for Opera, Safari and Firefox this gap is not appropriate and you want to make a 10px gap instead. Here are two CSS rules that help you to perform the best in all browsers:</p>
<blockquote><p>#header {margin-bottom:25px}<br />
#header {margin-bottom:10px}</p></blockquote>
<p>In this case the first command is for IE while the second is for all other browsers. However, there is no good news by now, because all browsers can understand both CSS rules. In other words, they all use the second rule, because it comes after the first. </p>
<p>And now a CSS hack should be inserted to hide the second CSS rule from IE. In such a way, IE won’t know that the rule exists and just will use the first CSS rule. Seems to be quite simple? Let’s find out the details. </p>
<h3>Browser Detection for Internet Explorer</h3>
<p>If you need to send different CSS rules to IE, you can use the child selector command that IE can’t understand. This command consists of two elements one of which is the child of another. Thus, html>body refers to the child <u>body</u> with parent <u>html</u>. </p>
<p>Here is the example of the header margin that illustrates our CSS command:</p>
<blockquote><p>#header {margin-bottom:3em}<br />
<strong>html>body #header {margin-bottom:1em}</strong></p></blockquote>
<p>Because of the html>body CSS command, IE can’t understand the second CSS rule and ignore it using the first rule. All other browsers will use the second rule. </p>
<h3>Browser Detection for Internet Explorer 5</h3>
<p><img src="http://farm5.static.flickr.com/4026/4496954800_8d1edd4b4d_o.jpg" alt="CSS Hacks and browser detection" align="right"></p>
<p>IE5 requires different CSS rules because of its misinterpretation of the box model. For example, padding and borders are not included when we specify the width of some element in CSS. IE5 incorporates them both into the width value and, as a result, elements widths are smaller in this browser. </p>
<p>Here is the CSS rule that results in a width of 10em for all browsers except IE5 where the width will be 5em. IE5 just incorporate two sets of padding and border, on both the left and right, when calculating the width with the following rule:</p>
<blockquote><p>#header {padding: 2em; border: 0.5em; width: 10em}</p></blockquote>
<p>You can solve this problem using box model hack invented by famous Tantek Çelik. For browser detection and sending different CSS rule to IE5 you should use the following: </p>
<blockquote><p>#header {padding: 2em; border: 0.5em; width: 15em;<br />
<strong>voice-family: &#8220;\&#8221;}\&#8221;"; voice-family:inherit; width: 10em}</strong></p></blockquote>
<p>Don’t ask how it works. Just use it. Need details? IE5 will use the first width value of 15em. As we have mentioned above, 5em of it will be taken up by two sets of padding and border (for the left and for the right). That will cause the width of 10em in IE5.</p>
<p>The 15em value will be overridden by the second value of 10em by all other browsers except IE5, because it can’t understand the CSS command that comes immediately after all those squiggles. </p>
<p>However, nothing is perfect and the box model hack is not an exception to this rule. For example, it can ‘kill’ the next CSS rule in IE5. But there are a lot of other box model hacks that can help you. </p>
<h3>Browser Detection for Internet Explorer on the Mac</h3>
<p>IE on the Mac is also quite capricious with CSS. Thus, many developers code sites in such a way that they work in IE/Mac. Of course, it may not offer the same level of design or functionality that is offered with other platform or browser, but still it is a good solution. </p>
<p>To hide a command with IE/Mac hack is quite simple. Just wrap a set of stars and dashes around CSS rules: </p>
<blockquote><p><strong>/* Hide from IE-Mac \*/</strong><br />
#header {margin-bottom:3em}<br />
#footer {margin-top:1.5em}<br />
/* End hide */</p></blockquote>
<p>These commands will be ignored by IE/Mac. Such CSS hack is rather useful if some area of the site doesn’t work properly in IE/Mac. If it is something unimportant you can hide it from IE/Mac just like this:</p>
<blockquote><p>#noiemac {display: none}</p>
<p>/* Hide from IE-Mac \*/<br />
#noiemac {display: block}<br />
/* End hide */</p></blockquote>
<p>The first CSS rule hides the entire section assigned the noiemac id. The second CSS rule displays this section (can’t b seen by IE/Mac)</p>
<h3>Browser Detection for Netscape 4</h3>
<p>Netscape 4 has limited support for CSS. Thus, making a CSS layout for this browser can be quite a difficult task. Today most web developers prefer to hide the CSS file from this browser. You can do this with the <strong>@import</strong> directive to call up the CSS document:</p>
<blockquote><p>@import url(cssfile.css);</p></blockquote>
<p>Thus, Netscape 4 can&#8217;t understand this @import directive and will display a non-styled version of the site.</p>
<h3>Make Sure to Check Your Site in the Different Browsers</h3>
<p>This is a must. Just download the major browsers such as Firefox, IE5, IE6, Opera and Safari and check your site on PC and Mac. There are quite a lot of sites offering you their services in case you don’t have access to a Mac, so search for them.</p>
<p>The other main rule in case certain page elements appear differently in different browsers is stop worrying… and start making some trial-and-error changes playing with CSS rules. Anyway, you can fix it up with CSS hacks that always ready to help you make your site look great. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/cross-browser-css-hacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

