<?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>ReDsgn &#187; Bug</title>
	<atom:link href="http://www.redsgn.com/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redsgn.com</link>
	<description>When small things come together great things happen.</description>
	<lastBuildDate>Tue, 10 Nov 2009 04:15:01 +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>Fixing those bleeding backgrounds on fieldsets</title>
		<link>http://www.redsgn.com/2009/02/19/fixing-those-bleeding-backgrounds-on-fieldsets/</link>
		<comments>http://www.redsgn.com/2009/02/19/fixing-those-bleeding-backgrounds-on-fieldsets/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 15:33:12 +0000</pubDate>
		<dc:creator>Paul Boutin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Fieldset]]></category>

		<guid isPermaLink="false">http://www.redsgn.com/?p=162</guid>
		<description><![CDATA[Ever encounter this IE bug&#8230; The issue occurs when you style fieldsets with a background color. The top of the fieldset color will bleed out of the border to the top of the legend. IE pads to the outside of borders and its apparent here when the padding is increased to accommodate a legend which [...]]]></description>
			<content:encoded><![CDATA[<p>Ever encounter this IE bug&#8230; The issue occurs when you style fieldsets with a background color. The top of the fieldset color will bleed out of the border to the top of the legend. IE pads to the outside of borders and its apparent here when the padding is increased to accommodate a legend which is over the border of the fieldset.</p>
<p><img src="http://www.redsgn.com/wp-content/uploads/2009/02/ie-fieldset-bleed-300x156.gif" alt="ie fieldset bleed" width="300" height="156" class="size-medium wp-image-325" /></p>
<p>This is a simple fix that will work in all browsers so no need for special IE Hacks or Conditional Comments.</p>
<p>First add a position: relative; declaration to the fieldset rule so that the absolute positioning of the legend will be relative to its fieldset:</p>
<p><code>fieldset {<br />
position: relative;<br />
background: #ffffcc;<br />
}</code></p>
<p>Next, add a new rule for the legend element and set its absolute positioning properties to emulate its current position:</p>
<p><code>legend {<br />
position: absolute;<br />
top: -.7em;<br />
left: .2em;<br />
}</code></p>
<p>That&#8217;s it&#8230; That&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redsgn.com/2009/02/19/fixing-those-bleeding-backgrounds-on-fieldsets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
