<?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>Breathing Spring &#187; CSS</title>
	<atom:link href="http://breathing-spring.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://breathing-spring.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 07:48:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Div is jumping in joomla on IE</title>
		<link>http://breathing-spring.com/div-is-jumping-in-joomla-on-ie/</link>
		<comments>http://breathing-spring.com/div-is-jumping-in-joomla-on-ie/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 03:33:21 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=39</guid>
		<description><![CDATA[The weirdest thing you could ever see in joomla (and which I havnt seen somewhere else yet)
is the DIV jumping and it caused me to change the whole theme. then I realized after few work that the problem presisted again.
I tried to google and I read smething like if the Div jumps (when you open ]]></description>
			<content:encoded><![CDATA[<p>The weirdest thing you could ever see in joomla (and which I havnt seen somewhere else yet)</p>
<p>is the DIV jumping and it caused me to change the whole theme. then I realized after few work that the problem presisted again.</p>
<p>I tried to google and I read smething like if the Div jumps (when you open internet explorer and waiting for one second) it means something is tight and isnt fitting well.</p>
<p>Well I didn&#8217;t want to believe at first but then I tried to make the container div wider and voala! it worked.</p>
<p>Hope this will work for you too.</p>
<p>CSS can be a pain or a real pain espiceally for those who use IE</p>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/div-is-jumping-in-joomla-on-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparent PNG on IE</title>
		<link>http://breathing-spring.com/transparent-png-on-ie/</link>
		<comments>http://breathing-spring.com/transparent-png-on-ie/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 08:24:05 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=20</guid>
		<description><![CDATA[Transparent PNG on Internet explorer can be a bit painful but here is a code that can somehow solve the problem on IE6 and earlier (didn&#8217;t try it on a version earlier than IE6 honestly)
&#60;SPAN
style=&#8221;DISPLAY: inline-block; FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=&#8217;images/my-image.png&#8217;); WIDTH: 120px; HEIGHT: 74px&#8221;&#62;&#60;IMG
style=&#8221;FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=0)&#8221; height=74
src=&#8221;images/my-image.png&#8221; width=120&#62;&#60;/SPAN&#62;
]]></description>
			<content:encoded><![CDATA[<p>Transparent PNG on Internet explorer can be a bit painful but here is a code that can somehow solve the problem on IE6 and earlier (didn&#8217;t try it on a version earlier than IE6 honestly)</p>
<blockquote><p>&lt;SPAN<br />
style=&#8221;DISPLAY: inline-block; FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=&#8217;images/my-image.png&#8217;); WIDTH: 120px; HEIGHT: 74px&#8221;&gt;&lt;IMG<br />
style=&#8221;FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=0)&#8221; height=74<br />
src=&#8221;images/my-image.png&#8221; width=120&gt;&lt;/SPAN&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/transparent-png-on-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When to use hight and when to use overflow</title>
		<link>http://breathing-spring.com/when-to-use-hight-and-when-to-use-overflow/</link>
		<comments>http://breathing-spring.com/when-to-use-hight-and-when-to-use-overflow/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 18:09:01 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=11</guid>
		<description><![CDATA[kinda tricky question but lets say
we had a code like
&#60;style&#62;
div#container
{
background-color:#FF0000;
}
div#someContent
{
float:left;
}
&#60;/style&#62;
&#60;div id="container"&#62;
&#60;div id="someContent"&#62;My Name =D&#60;/div&#62;
&#60;/div&#62;
In the case above we dont know how long our text will be so adding a fixed height to the "container" div is a real problem, also not adding a height at all is even worst .
Why? Because simply not adding a ]]></description>
			<content:encoded><![CDATA[<p>kinda tricky question but lets say<br />
we had a code like</p>
<blockquote><p>&lt;style&gt;<br />
div#container<br />
{<br />
background-color:#FF0000;<br />
}<br />
div#someContent<br />
{<br />
float:left;</code></p>
<p>}<br />
&lt;/style&gt;<br />
&lt;div id="container"&gt;<br />
&lt;div id="someContent"&gt;My Name =D&lt;/div&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>In the case above we dont know how long our text will be so adding a fixed height to the "container" div is a real problem, also not adding a height at all is even worst .</p>
<p>Why? Because simply not adding a height to the "container" div means it wont take the size of the floated divs inside, and so the red background wont show.</p>
<p>One intresting solve to this problem is using overflow:hidden on the container div.</p>
<p>actually there is three cases to this</p>
<p><strong>Container div that has flexible height (auto height)</strong></p>
<blockquote><p>div#container<br />
{<br />
background-color:#FF0000;<br />
overflow:hidden;<br />
}</p></blockquote>
<p><strong>Container div which has fixed height and hide anything over its height<br />
</strong></p>
<blockquote><p>div#container<br />
{<br />
background-color:#FF0000;<br />
overflow:hidden;<br />
height:100px;<br />
}</p></blockquote>
<p><strong>Finally Container div which has fixed height however divs inside can go over it<br />
</strong></p>
<blockquote><p>div#container<br />
{<br />
background-color:#FF0000;<br />
overflow:visible;<br />
height:100px;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/when-to-use-hight-and-when-to-use-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Min-Height For IE</title>
		<link>http://breathing-spring.com/min-height-for-ie/</link>
		<comments>http://breathing-spring.com/min-height-for-ie/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 12:05:09 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=10</guid>
		<description><![CDATA[Yes, a nice and clean code
min-height:222px;
height:auto !important;
height:222px;
just since !important is there it will help to make it recognized for firefox but not IE6 and so the min hight will work
]]></description>
			<content:encoded><![CDATA[<p>Yes, a nice and clean code</p>
<blockquote><p><code>min-height:222px;<br />
height:auto !important;<br />
height:222px;</code></p></blockquote>
<p>just since !important is there it will help to make it recognized for firefox but not IE6 and so the min hight will work</p>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/min-height-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A href Padding Problem (IE and FireFox)</title>
		<link>http://breathing-spring.com/a-href-padding-problem-ie-and-firefox/</link>
		<comments>http://breathing-spring.com/a-href-padding-problem-ie-and-firefox/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 10:08:11 +0000</pubDate>
		<dc:creator>Lamis</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://breathing-spring.com/?p=7</guid>
		<description><![CDATA[The problem is that when I have two a hrefs next to each other the padding is screwed in joomla. anyways here is what I did
Yes fixed padding on both IE and FireFox, here is the CSS Code
a.mainlevel:link, a.mainlevel:visited {
display:-moz-inline-box;
display:inline-block;
padding:10px;
}
the html code
&#60;a class=&#8221;mainlevel&#8221; href=&#8221;link1.html&#8221;&#62;Link1&#60;/a&#62;
&#60;a class=&#8221;mainlevel&#8221; href=&#8221;link2.html&#8221;&#62;link2&#60;/a&#62;
a good thing to know is that inline-block can have ]]></description>
			<content:encoded><![CDATA[<p>The problem is that when I have two a hrefs next to each other the padding is screwed in joomla. anyways here is what I did</p>
<p>Yes fixed padding on both IE and FireFox, here is the CSS Code</p>
<blockquote><p>a.mainlevel:link, a.mainlevel:visited {</p>
<p>display:-moz-inline-box;<br />
display:inline-block;<br />
padding:10px;<br />
}</p></blockquote>
<p>the html code</p>
<blockquote><p>&lt;a class=&#8221;mainlevel&#8221; href=&#8221;link1.html&#8221;&gt;Link1&lt;/a&gt;</p>
<p>&lt;a class=&#8221;mainlevel&#8221; href=&#8221;link2.html&#8221;&gt;link2&lt;/a&gt;</p></blockquote>
<p>a good thing to know is that inline-block can have height and width =D</p>
]]></content:encoded>
			<wfw:commentRss>http://breathing-spring.com/a-href-padding-problem-ie-and-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
