<?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>Leosquarez - Website Design and Development &#187; Crossing browser</title>
	<atom:link href="http://www.leosquarez.com/tag/crossing-browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leosquarez.com</link>
	<description>Website Design and Development</description>
	<lastBuildDate>Wed, 17 Aug 2011 03:59:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Fix IE7 z-index Problem</title>
		<link>http://www.leosquarez.com/how-to-fix-ie7-z-index-problem/</link>
		<comments>http://www.leosquarez.com/how-to-fix-ie7-z-index-problem/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 07:19:29 +0000</pubDate>
		<dc:creator>leosquarez</dc:creator>
				<category><![CDATA[Condition EI6]]></category>
		<category><![CDATA[Interesting from the web]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Crossing browser]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.leosquarez.com/?p=205</guid>
		<description><![CDATA[If you have a dropdown menu that works fine in all the browser a part from IE 7 and you have a problem like this one:
Z-index work in Internet Explorer 7 (and lower )a different way:
“In  Internet Explorer positioned elements generate a new stacking  context,  starting with a z-index value of 0. [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a dropdown menu that works fine in all the browser a part from IE 7 and you have a problem like this one:</p>

<a href='http://www.leosquarez.com/how-to-fix-ie7-z-index-problem/good-browser/' title='Good Browser'><img width="150" height="150" src="http://www.leosquarez.com/wp-content/uploads/2011/01/good-browser-150x150.jpg" class="attachment-thumbnail" alt="Good Browser" title="Good Browser" /></a>
<a href='http://www.leosquarez.com/how-to-fix-ie7-z-index-problem/bad-browser/' title='Bad Browser'><img width="150" height="150" src="http://www.leosquarez.com/wp-content/uploads/2011/01/bad-browser-150x150.jpg" class="attachment-thumbnail" alt="Bad Browser" title="Bad Browser" /></a>

<p>Z-index work in Internet Explorer 7 (and lower )a different way:</p>
<blockquote><p>“In  Internet Explorer positioned elements generate a new stacking  context,  starting with a z-index value of 0. Therefore z-index doesn’t  work  correctly”</p></blockquote>
<p>To fix z-index issue in ie give to the parent element a higher z-index actual fixes the bug!!!</p>
<p>WRONG:</p>
<blockquote><p>&lt;ul&gt;<br />
&lt;li&gt;<br />
&lt;ul class=&#8221;DROPDOWN&#8221;&gt;<br />
&lt;li&gt; &#8230;. &lt;/li&gt;<br />
&lt;li&gt; &#8230;. &lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;div class=&#8221;SLIDER-JQUERY&#8221;&gt;<br />
&#8230;&#8230;&#8230;..<br />
&lt;/div&gt;</p></blockquote>
<p>FIXED</p>
<blockquote><p>&lt;ul&gt;<br />
&lt;li style=&#8221;z-index:999999&#8243;&gt;<br />
&lt;ul class=&#8221;DROPDOWN&#8221;&gt;<br />
&lt;li&gt; &#8230;. &lt;/li&gt;<br />
&lt;li&gt; &#8230;. &lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;div class=&#8221;SLIDER-JQUERY&#8221;&gt;<br />
&#8230;&#8230;&#8230;..<br />
&lt;/div&gt;</p></blockquote>
<p>Try and let me know..</p>
<img src="http://www.leosquarez.com/?ak_action=api_record_view&id=205&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leosquarez.com/how-to-fix-ie7-z-index-problem/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IE7 not displaying background in sprite button</title>
		<link>http://www.leosquarez.com/ie7-not-displaying-background-in-sprite-button/</link>
		<comments>http://www.leosquarez.com/ie7-not-displaying-background-in-sprite-button/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 06:15:09 +0000</pubDate>
		<dc:creator>leosquarez</dc:creator>
				<category><![CDATA[Condition EI6]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Crossing browser]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>

		<guid isPermaLink="false">http://www.leosquarez.com/?p=142</guid>
		<description><![CDATA[Today while I was creating a new button with the sprite technique I discovered that what it was working in all the browsers (the decent one: Firefox, Safari, Crome and  IE8) it wasn&#8217;t working in IE7 and the CSS was not applied.
Pretty much while all the browsers were displaying the button as an image, IE7 [...]]]></description>
			<content:encoded><![CDATA[<p>Today while I was creating a new button with the <span style="text-decoration: underline;">sprite technique</span> I discovered that what it was working in all the browsers (the decent one: Firefox, Safari, Crome and  IE8) it wasn&#8217;t working in IE7 and the CSS was not applied.</p>
<p>Pretty much while all the browsers were displaying the button as an image, IE7 and IE6 were displaying a resized default button (very ugly!!!)</p>
<p>My initial code was something like that:</p>
<blockquote><p>#button_id{<br />
width:439px;<br />
height:53px;<br />
border: none;<br />
clear:both;<br />
background-image:url(../images/btn-confirm.png);<br />
background-repeat:no-repeat;<br />
background-position:0 0;<br />
}</p></blockquote>
<p>I could not understand why just IE7 (and IE6 of course) were having this issues..</p>
<p>In the end I find the solution:<br />
<strong> To display a background in a button in IE7 and IE6 you have to set the CSS style background-color</strong></p>
<blockquote><p>#order_button{<br />
width:439px;<br />
height:53px;<br />
border: none;<br />
clear:both;<br />
background-image:url(../images/btn-confirm.png);<br />
background-repeat:no-repeat;<br />
background-position:0 0;<br />
<strong>background-color:#f1f1f1; /* OF COURSE USE YOUR COLOR!! */</strong><br />
}</p></blockquote>
<p><a href="http://www.leosquarez.com/wp-content/uploads/2009/11/ie6.png"><img class="size-medium wp-image-135 alignnone" title="ie6" src="http://www.leosquarez.com/wp-content/uploads/2009/11/ie6-300x300.png" alt="ie6" width="300" height="300" /></a></p>
<img src="http://www.leosquarez.com/?ak_action=api_record_view&id=142&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leosquarez.com/ie7-not-displaying-background-in-sprite-button/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Browser CSS Condition IF IE</title>
		<link>http://www.leosquarez.com/browser-css-condition-if-ie/</link>
		<comments>http://www.leosquarez.com/browser-css-condition-if-ie/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 07:06:44 +0000</pubDate>
		<dc:creator>leosquarez</dc:creator>
				<category><![CDATA[Condition EI6]]></category>
		<category><![CDATA[Crossing browser]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://www.leosquarez.com/?p=37</guid>
		<description><![CDATA[All the web developer will agree with me saying that Internet Explorer is always the difficult browser from all the designer with.
A good web designer should test anything before resided on web with all the most recent browser (firefox safari crome opera&#8230; ect..)
and of course he should check in Internet Explorer in all the version.
While [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.leosquarez.com/wp-content/uploads/2009/11/ie6.png"><img class="alignright size-medium wp-image-135" title="ie6" src="http://www.leosquarez.com/wp-content/uploads/2009/11/ie6-300x300.png" alt="ie6" width="300" height="300" /></a>All the web developer will agree with me saying that Internet Explorer is always the difficult browser from all the designer with.</p>
<p>A good web designer should test anything before resided on web with all the most recent browser (firefox safari crome opera&#8230; ect..)<br />
and of course he should check in Internet Explorer in all the version.</p>
<p>While the modern (and much better) browser like firefox, crome, safari try to let you install all the times the new version, and with new version means a version that improve but still respect the HTML and CSS reading.<br />
IE is popular for complete different view of the page for a different version of the Browser</p>
<p>IE in the last few years release different version of the browser, most popular IE6, IE7 and IE8, but the are complete different each other in displaying a page.</p>
<p>The biggest different in the different version are stuff like:</p>
<ul>
<li>margin and padding (especially in list like UL, OL  and DL)</li>
<li>Alignment</li>
<li>Position</li>
<li>Float</li>
</ul>
<p>So is a good trick to create a separate CSS for IE6 and most of the times for IE7 as well</p>
<p>to do that you just create a now css file and in the &lt;head&gt; tag specify a condition:<br />
&lt;!&#8211;[if IE]&gt;<br />
According to the conditional comment this is Internet Explorer<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if IE 6]&gt;<br />
According to the conditional comment this is Internet Explorer 6<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if IE 6]&gt;<br />
According to the conditional comment this is Internet Explorer 6<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if IE 7]&gt;<br />
According to the conditional comment this is Internet Explorer 7<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if gte IE 5]&gt;<br />
According to the conditional comment this is Internet Explorer 5 and up<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if lt IE 8]&gt;<br />
According to the conditional comment this is Internet Explorer lower than 8<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if lte IE 5.5]&gt;<br />
According to the conditional comment this is Internet Explorer lower or equal to 5.5<br />
&lt;![endif]&#8211;&gt;<br />
&lt;!&#8211;[if gt IE 6]&gt;<br />
According to the conditional comment this is Internet Explorer greater than 6<br />
&lt;![endif]&#8211;&gt;</p>
<p>Some designer check for IE5, but i believe is to small the percent how still does have this browser.<br />
But how think IE 6 is not so common any more just check these data:</p>
<p>http://www.w3schools.com/browsers/browsers_stats.asp</p>
<div id="attachment_39" class="wp-caption alignnone" style="width: 585px"><img class="size-full wp-image-39" title="www.w3schools.com-screen-capture-2009-11-2-18-4-8" src="http://www.leosquarez.com/wp-content/uploads/2009/11/www.w3schools.com-screen-capture-2009-11-2-18-4-8.jpg" alt="www.w3schools.com-screen-capture-2009-11-2-18-4-8" width="575" height="525" /><p class="wp-caption-text">www.w3schools.com-screen-capture-2009-11-2-18-4-8</p></div>
<img src="http://www.leosquarez.com/?ak_action=api_record_view&id=37&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.leosquarez.com/browser-css-condition-if-ie/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

