<?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>Expressing IT &#187; Browser Quirks</title>
	<atom:link href="http://developer.expressionz.in/blogs/category/user_interface_developers/browser_quirks/feed/" rel="self" type="application/rss+xml" />
	<link>http://developer.expressionz.in/blogs</link>
	<description>User Interface : just another, but a serious developers weblog</description>
	<lastBuildDate>Thu, 20 May 2010 18:05:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Aligning radio button with text</title>
		<link>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/</link>
		<comments>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 09:02:20 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=170</guid>
		<description><![CDATA[Sine the radio button and the text are inline, so the text will align itself to the bottom of the radio button, The  the text will appear to be slightly under the radio button. ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F04%2Faligning-radio-button-with-text%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F04%2Faligning-radio-button-with-text%2F&amp;source=nikhild&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Since the radio button and the text are inline, so the text will align itself to the bottom of the radio button, The  the text will appear to be slightly under the radio button.<br />
If you want these to align to the top, you&#8217;ll have to place the radio and the text into separate containers like divs  or spans ( as appropriate) and they will take care of the alignment. It would be easier to use table cells  too, of your design brief permits it.</p>
<p>This won&#8217;t look the same in every browser, as every browser displays radios slightly differently, so there&#8217;s always going to be size issues no matter what you do.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SevenUp! Encourage the world to get rid of IE6!</title>
		<link>http://developer.expressionz.in/blogs/2009/03/22/sevenup-encourage-the-world-to-get-rid-of-ie6/</link>
		<comments>http://developer.expressionz.in/blogs/2009/03/22/sevenup-encourage-the-world-to-get-rid-of-ie6/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 19:51:46 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=134</guid>
		<description><![CDATA[Google starts a movement prompt people to dump IE6 ... By bugging IE6 users with a POPUP on page load... may be not a very idea ... but being a UI developer , I have to join this band wagon ... one less browser for me worry about ... Sorry! but I have include this ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F03%2F22%2Fsevenup-encourage-the-world-to-get-rid-of-ie6%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F03%2F22%2Fsevenup-encourage-the-world-to-get-rid-of-ie6%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Issues,IE6" height="61" width="50" /><br />
			</a>
		</div>
<p>Google starts a movement prompt people to dump IE6 &#8230; By bugging IE6 users with a POPUP on page load&#8230; may be not a very good idea &#8230; but being a UI developer , I have to join this band wagon &#8230; one less browser for me worry about &#8230; Sorry selfish it is! but I have include this javascript &#8230; ( TRY THIS PAGE IN IE6) &#8230;<br />
Hey ! and on the brighter note &#8230; See it is a display of the <strong>POWER of JAVASCRIPT </strong>&#8230;. it can even bring down a giant (or once it was )</p>
<p><strong>SO &#8230; Help rid the world of IE6 with one line of javascript! </strong></p>
<p><a href="http://code.google.com/p/sevenup/">http://code.google.com/p/sevenup/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2009/03/22/sevenup-encourage-the-world-to-get-rid-of-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bring Down IE6, Its about time!!!</title>
		<link>http://developer.expressionz.in/blogs/2009/03/19/bring-down-ie6-its-about-time/</link>
		<comments>http://developer.expressionz.in/blogs/2009/03/19/bring-down-ie6-its-about-time/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 09:59:32 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[Annoucements]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=128</guid>
		<description><![CDATA[With another browser to take care from tomorrow! (IE8 comes out of its Beta State tomorrow) ... Its really high time IE6 is given its Long Due Mercy Death ... United we stand for the fall of IE6 
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F03%2F19%2Fbring-down-ie6-its-about-time%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F03%2F19%2Fbring-down-ie6-its-about-time%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=Annoucements,IE6,IE8" height="61" width="50" /><br />
			</a>
		</div>
<p><br/><a href="http://www.bringdownie6.com/index.html" target="_blank"><img src="http://www.netmag.co.uk/files/bd.png" alt="" align="right"  border=0/></a>With another browser to take care from tomorrow! (IE8 comes out of its Beta State tomorrow) &#8230; Its really high time IE6 is given its Long Due Mercy Death &#8230; United we stand for the fall of IE6 </p>
<blockquote>
<h2>“IE6 is the new Netscape 4. The hacks needed to support IE6 are increasingly viewed as excess freight. Like Netscape 4 in 2000, IE6 is perceived to be holding back the web.”</h2>
<p><cite>Jeff Zeldman, standards guru</cite></p></blockquote>
<p>And meanwhile  for those  like me who will be flooded with calls of  breaking CSS layouts in IE8,  here is the old work around/fix using Meta Tags (<strong><em>meta http-equiv=”X-UA-Compatible”)</em></strong> you could try&#8230;</p>
<p><a title="Permanent Link to Mis-behaving IE8 : CSS Layout breakages (Targeting a browser version using Meta Tags in IE8)" rel="bookmark" href="http://developer.expressionz.in/blogs/2008/12/17/mis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8/">Mis-behaving IE8 : CSS Layout breakages (Targeting a browser version using Meta Tags in IE8) </a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2009/03/19/bring-down-ie6-its-about-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mis-behaving IE8 : CSS Layout breakages (Targeting a browser version using Meta Tags in IE8)</title>
		<link>http://developer.expressionz.in/blogs/2008/12/17/mis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8/</link>
		<comments>http://developer.expressionz.in/blogs/2008/12/17/mis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 06:14:21 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Doctype]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Meta Tags]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=50</guid>
		<description><![CDATA[if you hit upon this issue, Like I did yesterday, where your perfectly working CSS in IE7 (and earlier) and  Firefox  has suddenly started throwing tantrums in IE8 , TRY This ... It nicely seemed to fix my problems for the moment ....

Using Meta declaration, we can specify the rendering engine we would like IE8 to use. So to force IE8 to render as IE7 ... Insert the following Meta Tag into the head of your document:-
<meta http-equiv="X-UA-Compatible" content="IE=7" />

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F12%2F17%2Fmis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F12%2F17%2Fmis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=Doctype,IE+Issues,IE8,Meta+Tags,Tips+%26amp%3B+Tricks" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are css person, you would know the pain in getting your layouts working cross-browser. IE8 is yet another spanner in the works for us developers. Anywaz! if you hit upon this issue, Like I did yesterday, where your perfectly working CSS in IE7 (and earlier) and  Firefox  has suddenly started throwing tantrums in IE8 , TRY This &#8230; It nicely seemed to fix my problems for the moment &#8230;.</p>
<blockquote>
<div>Using Meta declaration, we can specify the rendering engine we would like IE8 to use. So to force IE8 to render as IE7 &#8230; Insert the following Meta Tag into the head of your document:-</div>
<p><strong><em>&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7&#8243; /&gt;</em><br />
</strong></p>
<p>By default IE Meta would be:-</p>
<p><strong><em>&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=8&#8243; /&gt;</em><br />
</strong>which would make IE8 render the page using the new standards mode.</p>
<p>If required, this syntax could be used to accomodate for other browsers as below:</p>
<p><em><strong>&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=8;FF=3;OtherUA=4&#8243; /&gt;</strong></em></p></blockquote>
<hr />
<h3>MORE About DOCTYPES :</h3>
<p>IF you are yet unfamiliar with the sort of animal called &#8220;Doctype&#8221; &#8230; here is some quick read<br />
<a href="http://developer.expressionz.in/blogs/?p=14" target="new">What are DOCTYPES? What are BROWSER QUIRKS &amp; STRICT Mode?</a><br />
<a href="http://developer.expressionz.in/blogs/?p=14" target="new">Setting the DOCTYPE in XSL</a></p>
<p><strong>For a more in depth understanding about DOCTYPES , try visiting these links&#8230;<br />
</strong><a href="http://www.alistapart.com/articles/doctype/" target="new">A List Apart : Fix Your Site With the Right DOCTYPE!</a><br />
<a href="http://www.alistapart.com/articles/beyonddoctype" target="new">A List Apart : Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8<br />
</a><br />
Note: Though many of us HTML/CSS people have been neglecting the importance of DOCTYPE decleration in our documents , Setting the right DOCTYPE , is usually the answer to most cross browser issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/12/17/mis-behaving-ie8-css-layout-breakages-targeting-a-browser-version-using-meta-tags-in-ie8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blinking Cursor in Firefox &#8211; Accessibility Caret Browsing</title>
		<link>http://developer.expressionz.in/blogs/2008/11/20/blinking-cursor-in-firefox-accessibilty-caret-browsing/</link>
		<comments>http://developer.expressionz.in/blogs/2008/11/20/blinking-cursor-in-firefox-accessibilty-caret-browsing/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:33:18 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[FF Bugs]]></category>
		<category><![CDATA[FF Fixes]]></category>
		<category><![CDATA[FF Hacks]]></category>
		<category><![CDATA[FF Issues]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=45</guid>
		<description><![CDATA[
			
				
			
		
In Firefox&#8230; sometimes you might have noticed that  the cursor starts blinking on the screen. It might happen when you click on any element on the page , a division or an image etc. This Blinking Cursor in the browser window is actually an ACCESSIBILITY Feature of FireFox called &#8216;caret browsing&#8217;. This features  allows/enables  users [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F11%2F20%2Fblinking-cursor-in-firefox-accessibilty-caret-browsing%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F11%2F20%2Fblinking-cursor-in-firefox-accessibilty-caret-browsing%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=FF+Bugs,FF+Fixes,FF+Hacks,FF+Issues,Firefox" height="61" width="50" /><br />
			</a>
		</div>
<p>In Firefox&#8230; sometimes you might have noticed that  the cursor starts blinking on the screen. It might happen when you click on any element on the page , a division or an image etc. This Blinking Cursor in the browser window is actually an ACCESSIBILITY Feature of FireFox called <strong>&#8216;caret browsing&#8217;</strong>. This features  allows/enables  users to select text on the page with the keyboard ( Which we normally tend to do with the use of our mouse).</p>
<p>Well! if you donot want this feature &#8230; simple press &#8220;<strong>F7</strong>&#8221; to toggle it to false  and vice-versa ( if you want it ON).  You could also  type &#8220;<strong>about:config</strong>&#8221; in the address bar (type in <strong>&#8220;caret&#8221; in the filter box</strong>) and simply <span style="font-weight: bold;">double click</span> to change the option &#8220;<strong>accessibility.browsewithcaret</strong>&#8221; from &#8220;<strong>true</strong>&#8221; (turn caret browsing ON) to &#8220;<strong>false</strong>&#8221; ( turn caret browsing OFF)</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/11/20/blinking-cursor-in-firefox-accessibilty-caret-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NOT For IE Only &#8211; CSS Child Selectors don&#8217;t work in IE</title>
		<link>http://developer.expressionz.in/blogs/2008/10/10/css-child-selectors-dont-work-in-ie-not-for-ie-only/</link>
		<comments>http://developer.expressionz.in/blogs/2008/10/10/css-child-selectors-dont-work-in-ie-not-for-ie-only/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 07:58:26 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[IE Fixes]]></category>
		<category><![CDATA[IE Hacks]]></category>
		<category><![CDATA[IE Issues]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=40</guid>
		<description><![CDATA[CSS for Non-IE Browsers
Historically, the child selector has been used to hide CSS commands from IE. Simply by placing html>body in front of any CSS command IE will ignore it:]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F10%2F10%2Fcss-child-selectors-dont-work-in-ie-not-for-ie-only%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F10%2F10%2Fcss-child-selectors-dont-work-in-ie-not-for-ie-only%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Bugs,IE+Fixes,IE+Hacks,IE+Issues" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>CSS for Non-IE Browsers : </strong>Its no news to CSS developers that , CSS Child Selectors like the example below, doesnt seem to work in IE. </p>
<blockquote><p>e.g. div &gt; span { some css } , that means &#8220;when a span element is a child ( and NOT  a grandchild or great grand child etc.) of a division element&#8221; .</p></blockquote>
<p>But we used this CON to our advantage. Historically, the child selector has been used to hide <acronym title="Cascading Stylesheets">CSS</acronym> commands from <acronym title="Internet Explorer">IE</acronym>. Simply by <strong>placing <code>html&gt;body</code> in front of any <acronym title="Cascading Stylesheets">CSS</acronym> command</strong> <acronym title="Internet Explorer">IE</acronym> will ignore it:</p>
<blockquote><p><code>html&gt;body .foo {<em><acronym title="Cascading Stylesheets">CSS</acronym> commands go here</em>;}</code></p></blockquote>
<p>This works because <code>&lt;body&gt;</code> is always a child of <code>&lt;html&gt;</code> &#8211; it can of course never be a grandchild or great-grandchild of <code>&lt;html&gt;</code>.</p>
<p>Now that <acronym title="Internet Explorer">IE</acronym>7 understands the child selector, you have to insert an empty comment tag in directly after the greater than sign. <acronym title="Internet Explorer">IE</acronym>7 will then not understand this selector (who knows why!?) and will therefore totally ignore this <acronym title="Cascading Stylesheets">CSS</acronym> command:</p>
<blockquote><p><code>html&gt;<strong>/**/</strong>body .foo {<em><acronym title="Cascading Stylesheets">CSS</acronym> commands go here</em>;}</code></p></blockquote>
<p>If haven&#8217;t already seen these before, have a read through the following as well</p>
<ul>
<li><a href="http://developer.expressionz.in/blogs/?p=11"><strong>Conditional Comments : For your IEs Only -Part Duex </strong></a></li>
<li><a href="http://developer.expressionz.in/blogs/?p=31"><strong>CSS hack: Javascript, CSS, HTML for Firefox only </strong></a></li>
<li><a href="http://developer.expressionz.in/blogs/?p=7"><strong>For your IEs Only</strong> </a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/10/10/css-child-selectors-dont-work-in-ie-not-for-ie-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disappearing HTML/DIV elements in Internet Explorer [IE]</title>
		<link>http://developer.expressionz.in/blogs/2008/10/04/disappearing-htmldiv-elements-in-internet-explorer-ie/</link>
		<comments>http://developer.expressionz.in/blogs/2008/10/04/disappearing-htmldiv-elements-in-internet-explorer-ie/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 19:30:23 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[IE Fixes]]></category>
		<category><![CDATA[IE Hacks]]></category>
		<category><![CDATA[IE Issues]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=37</guid>
		<description><![CDATA[What happens in IE is some of these section headers are displayed ok, but some are invisible, UNTIL, you scroll the page or click something on the page etc. Sometime they tend to disappear when you click the ‘alt’ key when you page down or scroll with the scroll bar. They sometimes seem to reappear when you reload (f5) the page. I short a perfectly simple DIV with some simple style behaves BAD.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F10%2F04%2Fdisappearing-htmldiv-elements-in-internet-explorer-ie%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F10%2F04%2Fdisappearing-htmldiv-elements-in-internet-explorer-ie%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Bugs,IE+Fixes,IE+Hacks,IE+Issues" height="61" width="50" /><br />
			</a>
		</div>
<p>As usual, one of the many some strange problems with IE and this one must ranks in TOP 10 of IE Quirks.</p>
<p><strong>PROBLEM STATEMENT (This was my problem, maybe you have similar misbehaviors):</strong><br />
I have many DIV’s in the page with class “sectionhead” , which is nothing but title of a section on the page. So I have some style looking like this</p>
<blockquote><p>.sectionhead{font-size:18px; background:#cfcfcf; padding:5px;}</p></blockquote>
<p>The div is a light grey bar with some black text. What happens in IE is some of these section headers are displayed ok, but some are invisible, UNTIL, you scroll the page or click something on the page etc. Sometime they tend to disappear when you click the ‘alt’ key when you page down or scroll with the scroll bar. They sometimes seem to reappear when you reload (f5) the page. I short a perfectly simple DIV with some simple style behaves BAD.<br />
What could cause such an erratic behavior? Well! Frankly, NO IDEA!!!</p>
<p><strong>POSSIBLE SOLUTION:</strong><br />
Again don’t ask me why, but in many instances this problem tends to vanish when you add position:relative to the mis behaving elements style, like this</p>
<blockquote><p>.sectionhead{font-size:18px; background:#cfcfcf; padding:5px; position:relative }</p></blockquote>
<p>Weird but what to say? God Bless me from IE!</p>
<p>AND DO SHARE WITH US, IF YOU HAD SIMILAR PROBLEMS.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/10/04/disappearing-htmldiv-elements-in-internet-explorer-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS hack: Javascript, CSS, HTML  for Firefox only</title>
		<link>http://developer.expressionz.in/blogs/2008/09/02/css-hack-javascript-css-html-for-firefox-only/</link>
		<comments>http://developer.expressionz.in/blogs/2008/09/02/css-hack-javascript-css-html-for-firefox-only/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 08:17:33 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavasScript]]></category>
		<category><![CDATA[FF Bugs]]></category>
		<category><![CDATA[FF Hacks]]></category>
		<category><![CDATA[FF Issues]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=31</guid>
		<description><![CDATA[If you are stuck badly or as such, have no-regards for validation (sometime we have to be cruel),  you could use the following to declare a link to a FF only stylesheet or even just code the CSS within this block. The code is 

<comment> Put your ff only HTML/CSS/Scripts here </comment>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F09%2F02%2Fcss-hack-javascript-css-html-for-firefox-only%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F09%2F02%2Fcss-hack-javascript-css-html-for-firefox-only%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=FF+Bugs,FF+Hacks,FF+Issues" height="61" width="50" /><br />
			</a>
		</div>
<p>Many a times we feel the need to write browser specfic hacks (though it is not a good practice, we UI developers have to resort to such evils until the great Browsers Wars comes to a truce). Earlier , I had mentioned in this article <strong><a href="http://developer.expressionz.in/blogs/?p=7">For your IEs Only</a></strong>, how to write a CSS snippet that would be visible to IE browsers &lt; IE7 only.</p>
<p>Yesterday, I had a case, where I wanted to write some FireFox specific CSS snippets. Well! I am not sure if there is a CSS code for this but there is a HTML. <strong>THERE IS A CATCH THOUGH</strong>, this piece of HTML doesnot pass HTML validation. But , anywaz! If you are stuck badly or as such, have no-regards for validation (sometime we have to be cruel), you could use the following to declare a link to a FF only stylesheet or even just code the CSS within this block. The code is</p>
<blockquote><p>&lt;comment&gt; Put your FireFox only HTML/CSS/Scripts here &lt;/comment&gt;</p>
<p><strong>e.g.</strong><br />
    &lt;comment&gt;<br />
         &lt;style&gt;<br />
             /* Styles for FF only  */<br />
             fieldset{border:1px solid #dddddd;}<br />
          &lt;/style&gt;<br />
     &lt;/comment&gt;</p></blockquote>
<p>I&#8221;m happy for the moment &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/09/02/css-hack-javascript-css-html-for-firefox-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE 8 strict mode and CSS opacity&#8230; Work Around</title>
		<link>http://developer.expressionz.in/blogs/2008/07/15/ie-8-strict-mode-and-css-opacity-work-around/</link>
		<comments>http://developer.expressionz.in/blogs/2008/07/15/ie-8-strict-mode-and-css-opacity-work-around/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 11:19:33 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[IE Fixes]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=12</guid>
		<description><![CDATA[IE 8 strict mode doesn’t allow for CSS opacity]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F07%2F15%2Fie-8-strict-mode-and-css-opacity-work-around%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F07%2F15%2Fie-8-strict-mode-and-css-opacity-work-around%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Bugs,IE+Fixes,IE+Issues,IE8" height="61" width="50" /><br />
			</a>
		</div>
<p>Oh Well! In the earlier post a few days back regarding <strong>Opacity in IE8 </strong>,I forgot to mention an important point that &#8220;<strong>IE 8 strict mode doesn’t allow for CSS opacity</strong>&#8220;.<br />
For those who donot understand what I mean by <strong>strict mode </strong>, <a href="http://developer.expressionz.in/blogs/?p=13">here is quick tutorial</a>.</p>
<p>A work around to this (Before IE dev team realise that they have paved way for re-work routines all over the world, for web-sites using Pop-up lightboxes with some opacity, and put back support for OPACITY) is to use a semi transparent image &#8230;preferably in PNG format (I have had bad experience getting transparent GIF images to work as they were supposed to). Create a PNG image of the color and percentage of transparency you like , in you favourite image editor and use it as a background image for your lightbox overlay.</p>
<p>i.e.<br />
Instead of something like this</p>
<blockquote><p>.lighbox_overlay{<br />
background-color: #ffffff;<br />
z-index:1001;<br />
-moz-opacity: 0.6;<br />
opacity:.60;<br />
filter: alpha(opacity=60);<br />
}</p></blockquote>
<p>Do this&#8230;.</p>
<blockquote><p>.lighbox_overlay{<br />
background:url(bkg.png) repeat;<br />
}</p></blockquote>
<p><a href="http://developer.expressionz.in/downloads/simple_css_lightbox/lightbox.html" target="_new"><strong>TO TRY IT, CLICK HERE! </strong></a>| <a href="http://developer.expressionz.in/downloads/simple_css_lightbox/Simple_CSS_Lightbox.zip" target="_new"><strong>TO DOWNLOAD, CLICK HERE! </strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/07/15/ie-8-strict-mode-and-css-opacity-work-around/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No &#8220;OPACITY&#8221; in IE8</title>
		<link>http://developer.expressionz.in/blogs/2008/07/06/no-opacity-in-ie8/</link>
		<comments>http://developer.expressionz.in/blogs/2008/07/06/no-opacity-in-ie8/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 12:45:04 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=10</guid>
		<description><![CDATA[The non-standard 'filter: alpha(opacity=##)'  and 'Opacity' CSS attribute has been removed from IE8
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F07%2F06%2Fno-opacity-in-ie8%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2008%2F07%2F06%2Fno-opacity-in-ie8%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Bugs,IE+Issues,IE8" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are viewing this page in IE8 , then  you must be seeing a full opaque white background behind this post. Yesterday , my collegue pointed this out to me (As I am one of those people  who adapt to changes slowly and steadily&#8230; especially browsers. Might say, Im a coward, but so be it &#8230;. Being a UI developer, I&#8217;m always shit scared of new browser versions &#8230; you know what Im tlaking about, right?)</p>
<p>Digged around for while, trying to find a solution to fix it and then what &#8230;<br />
This time our ALL TIME FAVOURITE browser  has done it all over again by dropping all support for CSS opacity. The non-standard `filter: alpha(opacity=##)` CSS attribute has been removed , Nice ,  but they also totally forgot to add CSS3 opacity support (like how all the other browser&#8217;s nicely have kept it in).  So, for the first time since GOD told us about CSS opacity ( since IE 5.0 , I guess)   , a web browser won&#8217;t support CSS opacity.<br />
And now for the cream on top:<strong> Official word from IE 8 team? It&#8217;s &#8220;by design&#8221; and &#8220;we will consider this in a future version of IE&#8221;.</strong></p>
<p>PS: Try this page in FF, swear it looks neat!</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2008/07/06/no-opacity-in-ie8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
