<?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"
	>

<channel>
	<title>Myanmar Web Designer</title>
	<atom:link href="http://www.naingoo88.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.naingoo88.co.uk/blog</link>
	<description>one for you</description>
	<pubDate>Wed, 29 Oct 2008 05:48:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>CSS tricks</title>
		<link>http://www.naingoo88.co.uk/blog/2008/10/27/css-tricks/</link>
		<comments>http://www.naingoo88.co.uk/blog/2008/10/27/css-tricks/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 06:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.naingoo88.co.uk/blog/?p=19</guid>
		<description><![CDATA[Now there have a lot of tricks for CSS to comply with different browsers such as IE6, IE7, Firefox, and Safari. Mostly majority uses the common browsers like Internet Explorer and Firefox. Therefore, what I would like to suggest is to make the CSS which you write at least look fine with these common browsers. That [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-26" style="border: 0px;" title="css" src="http://www.naingoo88.co.uk/blog/wp-content/uploads/2008/10/css.gif" alt="" width="120" height="50" />Now there have a lot of tricks for CSS to comply with different browsers such as IE6, IE7, Firefox, and Safari. Mostly majority uses the common browsers like Internet Explorer and Firefox. Therefore, what I would like to suggest is to make the CSS which you write at least look fine with these common browsers. That is, of course, I always check my website design. Here is some trick for CSS to make your site display properly in cross browser compatibility.<span id="more-19"></span></p>
<p><em>Here are some example of useful css.</em></p>
<p><strong>Example 1:</strong></p>
<ol>
<li>body</li>
<li>{ background:#336600; /* firefox */</li>
<li>*background:#336600; /* IE 7 */</li>
<li>_background:#ffffff; /* IE 6 */</li>
<li>}</li>
</ol>
<p> </p>
<p>This example is quite easy and useful css code, although it doesn&#8217;t pass validation of CSS. What a shame. If you want to show you are professional, it better uses the validate CSS, I strongly suggest. Anyway, it works, try it.</p>
<p><strong>Example 2:</strong></p>
<ol>
<li>/* IE 6 */</li>
<li>#box <strong>/**/</strong>{</li>
<li>position: absolute;</li>
<li>left: -210px;</li>
<li>top: 230px;</li>
<li>}</li>
<li>/* firefox and IE 7 */</li>
<li><strong>[xmlns]</strong> #box {</li>
<li>position: absolute;</li>
<li>left: -210px;</li>
<li>top: 211px;</li>
<li>}</li>
</ol>
<p> <br />
In this code, using <strong>/**/ </strong>mean to represent for IE6.</p>
<p><strong>[xmlns]</strong> is using for firefox and IE 7.</p>
<p>Good luck for your CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.naingoo88.co.uk/blog/2008/10/27/css-tricks/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

