<?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>Alexandru Dinulescu&#039;s Thoughts&#187; IE6 Bugs</title>
	<atom:link href="http://alexdweb.com/blog/tag/ie6-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexdweb.com/blog</link>
	<description>This blog is about everything/anything related to XHTML/CSS and of course my favourite js library, jQuery.</description>
	<lastBuildDate>Thu, 09 Dec 2010 12:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Conditional Comments for IE</title>
		<link>http://alexdweb.com/blog/2010/01/09/conditional-comments-for-ie/</link>
		<comments>http://alexdweb.com/blog/2010/01/09/conditional-comments-for-ie/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 22:14:56 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Bugs]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=264</guid>
		<description><![CDATA[Hello This post may be something very common and very known, however not everyone knows these, so this post may be useful to someone. Here is an entire list for this &#60;!--[IF IE 6]&#62; &#60;![endif]--&#62; this means that everything between those will only be loaded/visible by Internet Explorer 6 &#60;!--[IF lte/lt/gte/gt IE 6]&#62; &#60;![endif]--&#62; this [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> This post may be something very common and very known, however not everyone knows these, so this post may be useful to someone. </p>
<p> Here is an entire list for this </p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">&lt;!--[IF IE 6]&gt; &lt;![endif]--&gt;</span> this means that everything between those will only be loaded/visible by Internet Explorer 6<br />
<span style="color: #808080; font-style: italic;">&lt;!--[IF lte/lt/gte/gt IE 6]&gt; &lt;![endif]--&gt;</span> this means that depending on the legend it will load things like <br />
<span style="color: #808080; font-style: italic;">&lt;!--[IF !IE]&gt;--&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!--&lt;![endif]--&gt;</span> this means that all versions of IE will NOT READ the code between those 2<br />
&nbsp;lines. This is extremely useful when you try to load specific information and u do not want IE to load it, but<br />
&nbsp;all the other browsers to load said that information. for example<br />
<span style="color: #808080; font-style: italic;">&lt;!--[IF !IE]&gt;--&gt;</span> THIS LINE WILL NOT BE READ BY IE BROWSERS <span style="color: #808080; font-style: italic;">&lt;!--&lt;![endif]--&gt;</span></div></div>
<p><span id="more-264"></span></p>
<ul>
<li> lte = Lower Than Or Equal &mdash; lte <acronym title="Internet Explorer">IE</acronym>6 means that will be loaded by <acronym title="Internet Explorer">IE</acronym>6 and lower versions like <acronym title="Internet Explorer">IE</acronym>5.5 / <acronym title="Internet Explorer">5</acronym> and so on and so forth. </li>
<li> lt = Lower Than &mdash; lt <acronym title="Internet Explorer">IE</acronym>6 means that only lower versions of Internet Explorer 6 will read that part of the code such as <acronym title="Internet Explorer">IE</acronym>5.5 / <acronym title="Internet Explorer">IE</acronym>5 / <acronym title="Internet Explorer">IE</acronym>4 and so on and so forth. </li>
<li> gte = Greater Than Or Equal &mdash; gte <acronym title="Internet Explorer">IE</acronym>6 means that browsers versions higher than 6 or equal to 6 will load that code, such as <acronym title="Internet Explorer">IE</acronym>6 / <acronym title="Internet Explorer">IE</acronym>7 / <acronym title="Internet Explorer">IE</acronym>8 and so on and so forth. </li>
<li> gt = Greater than &mdash; gt <acronym title="Internet Explorer">IE</acronym>6 means that browsers versions higher than 6 will load the code such as <acronym title="Internet Explorer">IE</acronym>7 / <acronym title="Internet Explorer">IE</acronym>8 and so on and so forth. </li>
</ul>
<p> The most useful part is the ability to load information that is not read by <acronym title="Internet Explorer">IE</acronym> browsers at all, you could do something very nice, for example if you wish to drop <acronym title="Internet Explorer">IE</acronym>6 support your stylesheet and <acronym title="Javascript">JS</acronym> includes will look like this:</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">&lt;!--[IF !IE]&gt;--&gt;</span><br />
&nbsp;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./css/mainCss.css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--&lt;![endif]--&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--[if gte IE 7]&gt;</span><br />
<span style="color: #808080; font-style: italic;"> &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;./css/mainCss.css&quot; /&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--[IF !IE]&gt;--&gt;</span><br />
&nbsp;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;./js/mainJs.js&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--&lt;![endif]--&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;!--[IF gte IE 7]&gt;</span><br />
<span style="color: #808080; font-style: italic;"> &lt;script type=&quot;text/javascript&quot; src=&quot;./js/mainJs.js&quot; /&gt;</span><br />
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></div></div>
<p> The code above will only load the files for <acronym title="Internet Explorer">IE</acronym>7+ and all other browsers. A live example of this situation is my own website, which does not support <acronym title="Internet Explorer">IE</acronym>6. </p>
<p> Regards </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2010/01/09/conditional-comments-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 UL OL Vertical Bug</title>
		<link>http://alexdweb.com/blog/2009/06/04/ie6-ul-ol-vertical-bug/</link>
		<comments>http://alexdweb.com/blog/2009/06/04/ie6-ul-ol-vertical-bug/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:02:00 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=45</guid>
		<description><![CDATA[Hello again Did you know that IE6(and only IE6, IE7+ doesnt have this issue) has a weird UL/OL bug ? If not read on Lets say you want to make a vertical list of items that are linkedable like this &#60;ul&#62; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Item 1&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Item 2&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Item 3&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Item 4&#60;/a&#62;&#60;/li&#62; &#60;/ul&#62; ul [...]]]></description>
			<content:encoded><![CDATA[<p> Hello again </p>
<p> Did you know that <acronym title="Internet Explorer">IE</acronym>6(and only <acronym title="Internet Explorer">IE</acronym>6, <acronym title="Internet Explorer">IE</acronym>7+ doesnt have this issue) has a weird UL/OL bug ? </p>
<p> If not read on </p>
<p> Lets say you want to make a vertical list of items that are linkedable like this </p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 4<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<p><span id="more-45"></span></p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ul li a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></div></div>
<p> In all browsers except <acronym title="Internet Explorer">IE</acronym>6 the list will look OK, however <acronym title="Internet Explorer">IE</acronym>6 has a peculiar thing, because you press ENTER and you put the list items each on a new row, somehow <acronym title="Internet Explorer">IE</acronym>6 interprets that space as a white line, and you will end up with THIS </p>
<div>
<a href="http://alexdweb.com/blog/2009/06/04/ie6-ul-ol-vertical-bug/ie6vertbug/" rel="attachment wp-att-46"><img src="http://alexdweb.com/blog/wp-content/uploads/2009/11/ie6vertbug.jpg" alt="IE6 HORRORS" title="ie6vertbug" width="376" height="449" class="size-full wp-image-46" /></a></div>
<h3> THE HORROR!!!!&#8230; </h3>
<p> Well there are multiple ways to fix this issue, from involving Huge javascript codes to doing some very basic things, and the most basic method of it all is to write those links as follow: </p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Item 4<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<p> The &#8220;wonders&#8221; of <acronym title="Internet Explorer">IE</acronym>6 &#8230; </p>
<p> If you have questions, post them in the comments and i will answer as soon as possible </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/06/04/ie6-ul-ol-vertical-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>position:fixed for Internet Explorer 6</title>
		<link>http://alexdweb.com/blog/2009/04/23/positionfixed-for-internet-explorer-6/</link>
		<comments>http://alexdweb.com/blog/2009/04/23/positionfixed-for-internet-explorer-6/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 16:37:43 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[clean solution]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE6 Bugs]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=21</guid>
		<description><![CDATA[Hello As you well know Internet Explorer 6 and lower doesnt recognize position:fixed in CSS, in order to get around that issue we need to do this. Btw everything goes in the same css file, the * html star is a hack for IE6 so only it seems the code so other browsers arent affected. [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> As you well know Internet Explorer 6 and lower doesnt recognize position:fixed in <acronym title="Cascading Style Sheets">CSS</acronym>, in order to get around that issue we need to do this. Btw everything goes in the same css file, the * html star is a hack for <acronym title="Cascading Style Sheets">IE</acronym>6 so only it seems the code so other browsers arent affected. </p>
<p><span id="more-21"></span></p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">/* ===== Normal CSS for all other browsers ====== */</span><br />
.<span style="color: #993333;">fixed</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">fixed</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">/* ==== IE Specific CSS ==== */</span><br />
<span style="color: #00AA00;">*</span> html <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">*</span> html body <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">*</span> html .<span style="color: #993333;">fixed</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></div></div>
<p> Please note that this means that future absoltute positioned elements will probably break so a safer bet is either to use javascript or just plain use position fixed and suck it up, <acronym title="Internet Explorer">IE</acronym>6 is going to die pretty soon anyways </p>
<p> Questions in Comments </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/04/23/positionfixed-for-internet-explorer-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nifty Vertical Height Javascript JQuery</title>
		<link>http://alexdweb.com/blog/2009/04/08/nifty-vertical-height-javascript-jquery/</link>
		<comments>http://alexdweb.com/blog/2009/04/08/nifty-vertical-height-javascript-jquery/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:53:34 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[XHTML/CSS]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=14</guid>
		<description><![CDATA[Evening All. Everyone loved valign=&#8221;middle&#8221; on tables&#8230; well life just got better with jQuery. This plugin works flawlessly however make sure that both the element itself and the parent element do not have any top/bottom paddings, else please modify it using the .outerHeight&#40;&#41; property that takes into consideration the padding/border of those elements. Tweak and [...]]]></description>
			<content:encoded><![CDATA[<p> Evening All. </p>
<p> Everyone loved valign=&#8221;middle&#8221; on tables&#8230; well life just got better with jQuery. This plugin works flawlessly however make sure that both the element itself and the parent element do not have any top/bottom paddings, else please modify it using the <code class="codecolorer javascript default"><span class="javascript">.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></span></code> property that takes into consideration the padding/border of those elements. Tweak and use as necessary. </p>
<p><span id="more-14"></span></p>
<h3> the JQuery </h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #006600; font-style: italic;">// VERTICALLY ALIGN FUNCTION</span><br />
$.<span style="color: #660066;">fn</span>.<span style="color: #660066;">vAlign</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> ah <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> ph <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> mh <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>ph <span style="color: #339933;">-</span> ah<span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'paddingTop'</span><span style="color: #339933;">,</span> mh<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>You can get the benefits of valign=middle no problem.</p>
<p>So just put the jQuery framework script then this script above and call the elements you want to be valigned=middle by using this</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#box&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">vAlign</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div></div>
<p>Also another VERY NIFTY thing to do is, in order to prevent the user from seeing the javascript process (since first <acronym title="HyperText Markup Language">HTML</acronym> is loaded, then <acronym title="Cascading Style Sheets">CSS</acronym> file is loaded, then any images are loaded, then <acronym title="Javascript">JS</acronym> is processed) you can do this. </p>
<p> First you need an <code class="codecolorer css default"><span class="css">.outerBox</span></code> that encompasses the Box element, and then you need to have the box element with a declared height, like <code class="codecolorer css default"><span class="css"><span style="color: #cc00cc;">#box</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></span></code>. This workaround is only good for <acronym title="Internet Explorer 6">IE</acronym> 6 since that sucks donkey balls, and has a <acronym title="Javascript">JS</acronym> rendering engine from 1000AD. however depending on the amount of content being displayed (like entire columns) <acronym title="Internet Explorer">IE</acronym>7 which appeared in 2000AD may require this fix also. Other browsers are OK so this is BS </p>
<h3> CSS: </h3>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#outerBox</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span><br />
<span style="color: #cc00cc;">#box</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> xxxpx<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></div></div>
<h3> Javascript: </h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">function</span> alignThis<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#box&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">vAlign</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;outerBox&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;display&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;block&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p> End of story. </p>
<p>
And for the other more compatible browsers you can put this in another <acronym title="Javascript">JS</acronym> file. The previous one was inserted in the <acronym title="HyperText Markup Language">HTML</acronym> using conditional comments <code class="codecolorer html4strict default"><span class="html4strict"><span style="color: #808080; font-style: italic;">&lt;!--[if IE lte 7]&gt; &lt;script src=&quot;./../js/biteMe.js&quot; type=&quot;text/javascript&quot;/&gt;&lt;![endif]--&gt;</span></span></code> </p>
<p> <code class="codecolorer javascript default"><span class="javascript">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#box&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">vAlign</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></span></code> and just use Conditional comments to put the <acronym title="Internet Explorer">IE</acronym> specific things in so they wont see them, and since you are linking 2 different <acronym title="Javascript">JS</acronym> files, (again with conditional comments) you script WONT JAM.
</p>
<p> Complex solution for an ancient problem. </p>
<p> Cheers </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/04/08/nifty-vertical-height-javascript-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

