<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: IE6/IE7 form element margin inheritance bug</title>
	<atom:link href="http://blog.netscraps.com/internet-explorer/ie6-ie7-margin-inheritance-bug.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html</link>
	<description>A windsurfing, CSS-grudging, IE-hating, web-developing, gigantic-machine-puzzling blog</description>
	<lastBuildDate>Mon, 16 Jan 2012 14:19:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-2168</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 24 Aug 2011 15:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-2168</guid>
		<description>Thanks for the help. I re-coded the left margins in the parent container and it worked perfectly.</description>
		<content:encoded><![CDATA[<p>Thanks for the help. I re-coded the left margins in the parent container and it worked perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antonio</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-44</link>
		<dc:creator>antonio</dc:creator>
		<pubDate>Tue, 03 Aug 2010 11:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-44</guid>
		<description>Thanks a lot for the documentation of this issue.

My solution was to replace all the margins of the block level parent element with paddings equivalents. Everything is right now</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the documentation of this issue.</p>
<p>My solution was to replace all the margins of the block level parent element with paddings equivalents. Everything is right now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chipowski</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-43</link>
		<dc:creator>chipowski</dc:creator>
		<pubDate>Sun, 25 Jul 2010 14:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-43</guid>
		<description>great post. thanks for the info.
overflow: visible worked for me too</description>
		<content:encoded><![CDATA[<p>great post. thanks for the info.<br />
overflow: visible worked for me too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georg Sender</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-42</link>
		<dc:creator>Georg Sender</dc:creator>
		<pubDate>Thu, 25 Feb 2010 12:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-42</guid>
		<description>Thanks for clarifying this case. This is really an annoying bug. I wonder if its fixed in IE8.
I prefer the  fix. Its quite elegant.
@Missy:
the overflow.visible fix is related rather to the padding than to the margins. But its also useful for fixing the IE padding issue.

I have also found a way to workaround this (not as elegant as the span fix):
put an invisible button - whatever - before the bug-effected element, setting its visibility to hidden and its display property to none by a style.</description>
		<content:encoded><![CDATA[<p>Thanks for clarifying this case. This is really an annoying bug. I wonder if its fixed in IE8.<br />
I prefer the  fix. Its quite elegant.<br />
@Missy:<br />
the overflow.visible fix is related rather to the padding than to the margins. But its also useful for fixing the IE padding issue.</p>
<p>I have also found a way to workaround this (not as elegant as the span fix):<br />
put an invisible button &#8211; whatever &#8211; before the bug-effected element, setting its visibility to hidden and its display property to none by a style.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-41</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 18 Dec 2009 03:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-41</guid>
		<description>Thanks, setting form to display:inline works for me....</description>
		<content:encoded><![CDATA[<p>Thanks, setting form to display:inline works for me&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Funcich</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-40</link>
		<dc:creator>Martin Funcich</dc:creator>
		<pubDate>Wed, 04 Feb 2009 09:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-40</guid>
		<description>Barry&#039;s solution is more realistic if you get into the habit of making your known form-element container divs use this &quot;relative/left/margin-right&quot; technique to substitute margin-left away:

.old {
margin-left: x;
width: w;
}

.new {
position: relative;
left: x;
margin-right: -x;   /* only for percentage or auto widths */
width: w-x;            /* only for fixed widths */
}

And of course annotate what you&#039;ve done so you can alter the stylesheet confidently in future :P</description>
		<content:encoded><![CDATA[<p>Barry&#8217;s solution is more realistic if you get into the habit of making your known form-element container divs use this &#8220;relative/left/margin-right&#8221; technique to substitute margin-left away:</p>
<p>.old {<br />
margin-left: x;<br />
width: w;<br />
}</p>
<p>.new {<br />
position: relative;<br />
left: x;<br />
margin-right: -x;   /* only for percentage or auto widths */<br />
width: w-x;            /* only for fixed widths */<br />
}</p>
<p>And of course annotate what you&#8217;ve done so you can alter the stylesheet confidently in future <img src='http://blog.netscraps.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-39</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 21 Nov 2008 23:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-39</guid>
		<description>Thanks for the tip.. this was driving my crazy for ages!  Bloody IE, with it ever be 100% compliant and bug free?</description>
		<content:encoded><![CDATA[<p>Thanks for the tip.. this was driving my crazy for ages!  Bloody IE, with it ever be 100% compliant and bug free?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Story</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-38</link>
		<dc:creator>Mark Story</dc:creator>
		<pubDate>Tue, 08 Jan 2008 17:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-38</guid>
		<description>Thanks a bunch!  This bug was driving me insane as well.

I solved my issues by using a combination of the span wrapper and overflow:visible; for the input element.</description>
		<content:encoded><![CDATA[<p>Thanks a bunch!  This bug was driving me insane as well.</p>
<p>I solved my issues by using a combination of the span wrapper and overflow:visible; for the input element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Van Buren</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-37</link>
		<dc:creator>Jay Van Buren</dc:creator>
		<pubDate>Fri, 02 Nov 2007 00:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-37</guid>
		<description>Thanks for this post, very helpful!</description>
		<content:encoded><![CDATA[<p>Thanks for this post, very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BB</title>
		<link>http://blog.netscraps.com/bugs/ie6-ie7-margin-inheritance-bug.html#comment-36</link>
		<dc:creator>BB</dc:creator>
		<pubDate>Wed, 15 Aug 2007 15:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.netscraps.com/?p=10#comment-36</guid>
		<description>Hi,

Has anyone experienced any problem with checkboxes in IE7?
My checkboxes that work in IE6 dont work in IE7 :-(</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Has anyone experienced any problem with checkboxes in IE7?<br />
My checkboxes that work in IE6 dont work in IE7 <img src='http://blog.netscraps.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

