X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Transparent border in IE, but not in Firefox... (https://forum.x-cart.com/showthread.php?t=42259)

plathw 09-09-2008 06:09 AM

Transparent border in IE, but not in Firefox...
 
I am having a problem with the container (I think it's the container) border showing up in IE. It looks fine in FireFox, but I can't get rid of it in IE. It does not seem to be a CSS issue, since if I get rid of all the CSS, it still has that border in IE. Any ideas? Here is a link to the site:

http://store.honestcharley.com/

Thank you for any help!

Victor D 09-09-2008 06:48 AM

Re: Transparent border in IE, but not in Firefox...
 
I'm not sure, but try to set cellpadding cellspacing and border to zero for all the tables that do not have it. In IE these values is not equal zero by default.
Also take care of your code to be valid XHTML.

plathw 09-09-2008 07:10 AM

Re: Transparent border in IE, but not in Firefox...
 
Well, I just went through and made every table have 0 padding, spacing, and border. Still no change. Any other ideas?

Victor D 09-09-2008 07:54 AM

Re: Transparent border in IE, but not in Firefox...
 
Very strange place is
HTML Code:

<tr>
<td style="display: none">
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript" language="JavaScript">
</script>
<script type="text/javascript">
    _uacct = "UA-797427-16";

    urchinTracker();
</script>
</td>
</tr>


at least it requires <td colspan="4"> as i gave a fast look thru your table structure. But it would be bettter to exclude this row at all and put this script somewhere in the bottom of the page.
also your <html> tag needs xmlns attribute to be set

plathw 09-09-2008 08:47 AM

Re: Transparent border in IE, but not in Firefox...
 
Victor, thank you, that actually did fix one issue. It looks like the problem is a missing closing tag in one table...now, to go through them all to find it!

plathw 09-09-2008 11:30 AM

Re: Transparent border in IE, but not in Firefox...
 
Did some more digging, and it looks like it was because of the way IE handles empty tables. Thanks for the help!


All times are GMT -8. The time now is 03:09 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.