<?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>Web development &#187; CSS</title>
	<atom:link href="http://sourcecodemoney.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcecodemoney.com</link>
	<description>Use source code for money</description>
	<lastBuildDate>Mon, 21 Nov 2011 12:03:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>IE6 css bug</title>
		<link>http://sourcecodemoney.com/ie6-css-bug/css/</link>
		<comments>http://sourcecodemoney.com/ie6-css-bug/css/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 10:18:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Border]]></category>
		<category><![CDATA[Borders]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Css Bug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Html Div]]></category>
		<category><![CDATA[Ie6]]></category>
		<category><![CDATA[ie6 css bug]]></category>
		<category><![CDATA[ie6 css hack]]></category>
		<category><![CDATA[ie6 css issues]]></category>
		<category><![CDATA[ie6 css problems]]></category>
		<category><![CDATA[ie6 padding problem]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Margins]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Padding]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=65</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		In general if a div width is not set, the div box is as wide as the content within it. If there is padding, borders, or margins, this will be added to the box width. So, a 100px box with 0 padding and 0 border would have 100px width and will render the same in [...]]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/ie6-css-bug/css/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>In general if a div width is not set, the div box is as wide as the content within it. If there is padding, borders, or margins, this will be added to the box width. So, a 100px box with 0 padding and 0 border would have 100px width and will render the same in IE and Mozilla. But, if 5px padding is added, the Mozilla box would be 110px wide. 100px + 5px left padding + 5px right padding = 110px wide. While the IE box would still be 100px.</p>
<p>So Internet Explorer does not render the div box correctly. To have the same look on different browser, you need to hack your css for IE browser.</p>
<p>You can do the below code:</p>
<div id="code">div {<br />
width: 100px;<br />
padding: 5px;<br />
}<br />
* html div {<br />
\width: 110px;<br />
}</div>
<p>The first div will work on Firefox and the second div won&#8217;t work on Firefox but will work on IE.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/ie6-css-bug/css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use different css on different browser</title>
		<link>http://sourcecodemoney.com/how-to-use-different-css-on-different-browser/php-code/</link>
		<comments>http://sourcecodemoney.com/how-to-use-different-css-on-different-browser/php-code/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 05:02:27 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP code]]></category>
		<category><![CDATA[Browser Compatibility]]></category>
		<category><![CDATA[Code Lt]]></category>
		<category><![CDATA[Css Style]]></category>
		<category><![CDATA[Download Full]]></category>
		<category><![CDATA[Endif]]></category>
		<category><![CDATA[Gte]]></category>
		<category><![CDATA[Ie 6]]></category>
		<category><![CDATA[Ie6]]></category>
		<category><![CDATA[Ie8]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Lte]]></category>
		<category><![CDATA[Spesific]]></category>
		<category><![CDATA[Style Css]]></category>
		<category><![CDATA[Style Type]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=62</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		Cross Browser Compatibility is a huge issue in the website development with many browsers in the market. But luckily most of them uses Internet Explorer and Firefox. Sometimes different version of browser also have different output like the display in IE8 and IE6. To tackle this you can use different css for different browser. Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/how-to-use-different-css-on-different-browser/php-code/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><p>Cross Browser Compatibility is a huge issue in the website development with many browsers in the market. But luckily most of them uses Internet Explorer and Firefox. Sometimes different version of browser also have different output like the display in IE8 and IE6. To tackle this you can use different css for different browser.</p>
<p>Here&#8217;s the code:</p>
<div id="code">&lt;!&#8211;[if lte IE 6]&gt;<br />
&lt;style type=&#8221;text/css&#8221; media=&#8221;screen&#8221;&gt;<br />
@import &#8220;ie.css&#8221;;<br />
&lt;/style&gt;<br />
&lt;![endif]&#8211;&gt;</div>
<div></div>
<div></div>
<div><em><strong>if lte IE 6 </strong></em>means if browser is lower than equal (<strong>lte</strong>) IE 6. If you want to use the css specifically to IE 6 then:  <em><strong>&lt;!&#8211;[if IE 6]&gt;. </strong></em>There are also <strong>gte </strong>(greater then equal) for browser above or equal a spesific browser. Here&#8217;s the summary:</div>
<div>
<ul>
<li>lte IE 6 -&gt; IE 6 and all version lower</li>
<li>lt IE 6  -&gt; version below IE 6</li>
<li>IE 6 -&gt; only IE 6</li>
<li>gt IE 6 -&gt; version higher IE 6</li>
<li>gte IE 6 -&gt; IE 6 and all version higher</li>
</ul>
</div>
<div></div>
<div>Download the full code <a href="http://sourcecodemoney.com/doc/browser.zip">here</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/how-to-use-different-css-on-different-browser/php-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flat Input box with CSS</title>
		<link>http://sourcecodemoney.com/flat-input-box-with-css/css/</link>
		<comments>http://sourcecodemoney.com/flat-input-box-with-css/css/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 06:03:49 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Css Border]]></category>
		<category><![CDATA[Css Input]]></category>
		<category><![CDATA[Flat Input Box]]></category>
		<category><![CDATA[Input Box]]></category>

		<guid isPermaLink="false">http://sourcecodemoney.com/?p=32</guid>
		<description><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		input { border: 1px solid; } If you want to change the input box background do as follow: input { border: 0px solid; }]]></description>
			<content:encoded><![CDATA[		<link href="http://sourcecodemoney.com/wp-content/plugins/diggme/css.css" rel="stylesheet" type="text/css" />
		<div id="diggbutton"><a href="http://digg.com/submit?phase=2&amp;url=http://sourcecodemoney.com/flat-input-box-with-css/css/"><img src="http://sourcecodemoney.com/wp-content/plugins/diggme/digg.png"></a></div><div id="code">input<br />
{<br />
border: 1px solid;<br />
}</div>
<p>If you want to change the input box background do as follow:</p>
<div id="code">input<br />
{<br />
border: 0px solid;<br />
}</div>
]]></content:encoded>
			<wfw:commentRss>http://sourcecodemoney.com/flat-input-box-with-css/css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

