<?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: IE Table Border Bug?</title>
	<atom:link href="http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/</link>
	<description>Robert Accettura&#039;s Personal Blog on Web Development and Tech</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:10:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Byron</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-740554</link>
		<dc:creator>Byron</dc:creator>
		<pubDate>Thu, 28 May 2009 19:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-740554</guid>
		<description>Slightly related...

I had a table generated using JavaScript with the tds having a thin solid border on the top only, thus giving the appearance of rows split by thin lines with properly separated data fields w/ out any rendered separation (only whitespace).  When the table loads js checks to see how many rows there are, and displays only the first 5 of them, thus the other rows are still there but the css display is set to none.  There is then paging buttons in place which onclick iterate through the next 5 items in the table displaying them and hiding others.  What was strange was that when the paging occurred in IE7 there were residual top-borders from the tds as the rows grew and shrunk in height to accommodate the different amounts of data.  When I scrolled the page however these phantom borders would vanish, but then when I scrolled back up they would re-appear.  Only when I set the border-collapse to seperate, and set the cellspacing=&quot;0&quot; on the table did the table behave properly ( as suggested by Philippe).

I am not sure why this occurred, but perhaps someone else out there has encountered this.</description>
		<content:encoded><![CDATA[<p>Slightly related&#8230;</p>
<p>I had a table generated using JavaScript with the tds having a thin solid border on the top only, thus giving the appearance of rows split by thin lines with properly separated data fields w/ out any rendered separation (only whitespace).  When the table loads js checks to see how many rows there are, and displays only the first 5 of them, thus the other rows are still there but the css display is set to none.  There is then paging buttons in place which onclick iterate through the next 5 items in the table displaying them and hiding others.  What was strange was that when the paging occurred in IE7 there were residual top-borders from the tds as the rows grew and shrunk in height to accommodate the different amounts of data.  When I scrolled the page however these phantom borders would vanish, but then when I scrolled back up they would re-appear.  Only when I set the border-collapse to seperate, and set the cellspacing=&#8221;0&#8243; on the table did the table behave properly ( as suggested by Philippe).</p>
<p>I am not sure why this occurred, but perhaps someone else out there has encountered this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-290871</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Thu, 13 Mar 2008 20:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-290871</guid>
		<description>http://www.w3schools.com/css/tryit.asp?filename=trycss_table_border-collapse

I copy code from upper link.</description>
		<content:encoded><![CDATA[<p><a href="http://www.w3schools.com/css/tryit.asp?filename=trycss_table_border-collapse" rel="nofollow">http://www.w3schools.com/css/t.....r-collapse</a></p>
<p>I copy code from upper link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-290869</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Thu, 13 Mar 2008 20:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-290869</guid>
		<description>I want to get rid of &quot;border-collapse: collapse;&quot; but can not get it done. I am using IE6.




table.coll 
{

border-spacing:0px; 
border-width: 0px;
cellpadding: 0px; 
cellspacing: 0px; 
}
table.sep
{
border-collapse: collapse;
}






Peter
Griffin


Lois
Griffin







Peter
Griffin


Lois
Griffin




</description>
		<content:encoded><![CDATA[<p>I want to get rid of &#8220;border-collapse: collapse;&#8221; but can not get it done. I am using IE6.</p>
<p>table.coll<br />
{</p>
<p>border-spacing:0px;<br />
border-width: 0px;<br />
cellpadding: 0px;<br />
cellspacing: 0px;<br />
}<br />
table.sep<br />
{<br />
border-collapse: collapse;<br />
}</p>
<p>Peter<br />
Griffin</p>
<p>Lois<br />
Griffin</p>
<p>Peter<br />
Griffin</p>
<p>Lois<br />
Griffin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John taylor</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-158947</link>
		<dc:creator>John taylor</dc:creator>
		<pubDate>Mon, 09 Jul 2007 14:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-158947</guid>
		<description>i agree, the css that Dao put works just dandy for me too.
I just did a find and replace for </description>
		<content:encoded><![CDATA[<p>i agree, the css that Dao put works just dandy for me too.<br />
I just did a find and replace for</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-154848</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 30 Jun 2007 15:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-154848</guid>
		<description>the css td line that Dao put works. and simpler too.</description>
		<content:encoded><![CDATA[<p>the css td line that Dao put works. and simpler too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-134814</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Fri, 06 Apr 2007 02:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-134814</guid>
		<description>Philippe: I think that&#039;s the best fix... Kinda stinks you have to do that.</description>
		<content:encoded><![CDATA[<p>Philippe: I think that&#8217;s the best fix&#8230; Kinda stinks you have to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-134727</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 05 Apr 2007 13:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-134727</guid>
		<description>You can also work around the problem by turning off border-collapse (but I couldn&#039;t persuade IE6 to turn off its cell padding except by using HTML).</description>
		<content:encoded><![CDATA[<p>You can also work around the problem by turning off border-collapse (but I couldn&#8217;t persuade IE6 to turn off its cell padding except by using HTML).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-134726</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Thu, 05 Apr 2007 13:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-134726</guid>
		<description>remove the border-collapse:collapse.
use the cellspacing=&quot;0&quot; attribute on the table (yes perfectly valid)

border-collapse never works correctly on iExploder.
http://dev.l-c-n.com/iExploder7/table-robert.html</description>
		<content:encoded><![CDATA[<p>remove the border-collapse:collapse.<br />
use the cellspacing=&#8221;0&#8243; attribute on the table (yes perfectly valid)</p>
<p>border-collapse never works correctly on iExploder.<br />
<a href="http://dev.l-c-n.com/iExploder7/table-robert.html" rel="nofollow">http://dev.l-c-n.com/iExploder7/table-robert.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary van der Merwe</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-134676</link>
		<dc:creator>Gary van der Merwe</dc:creator>
		<pubDate>Thu, 05 Apr 2007 08:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-134676</guid>
		<description>Here is a work around (kind of sucks.)
http://garyvdm.googlepages.com/IETableBorderBug.htm

It seems like when border-collapse is collapse, the background is rendered under the right and bottom border, and the default border is 1px transparent.

My workaround is to set the offending borders to the color of the next sibling cell.</description>
		<content:encoded><![CDATA[<p>Here is a work around (kind of sucks.)<br />
<a href="http://garyvdm.googlepages.com/IETableBorderBug.htm" rel="nofollow">http://garyvdm.googlepages.com.....derBug.htm</a></p>
<p>It seems like when border-collapse is collapse, the background is rendered under the right and bottom border, and the default border is 1px transparent.</p>
<p>My workaround is to set the offending borders to the color of the next sibling cell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dao</title>
		<link>http://robert.accettura.com/blog/2007/04/04/ie-table-border-bug/comment-page-1/#comment-134675</link>
		<dc:creator>Dao</dc:creator>
		<pubDate>Thu, 05 Apr 2007 08:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://robert.accettura.com/archives/2007/04/04/ie-table-border-bug/#comment-134675</guid>
		<description>&lt;code&gt;td { position: relative; }&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code>td { position: relative; }</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

