Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unwanted Header borders!


Guest

Recommended Posts

Posted

Hiya, i am getting a white border around my header logo. ( www.herbalhaze.co.uk/shop )

 

Ive been into the header.php and it seems ok?

 

<table width="100%" border="0" margin="0" align="justified">
 <tr align="center">
   <td width="%"><div align="justify"><img src="/shop/images/edgeL.jpg" width="100%" height="112" border="0" alt="edgeL" /></div></td>
   <td width="500"><div align="center"><a href="www.herbalhaze.co.uk"><img src="/shop/images/logo1.jpg" width="500" height="112" border="0" alt="Home"/></a></div></td>
   <td width="%"><div align="justify"><img src="/shop/images/edgeR.jpg" width="100%"  height="112" border="0" alt="edgeR" /></div></td>
 </tr>
</table>

 

Ive checked the index.php

 

</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" border="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

 

Ive checked the stylesheet;

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

 

What is it that i am missing?

 

ATB!!!

Posted

Using the web developer tools in Firefox, if I change this:

 

<table width="100%" border="0" margin="0" align="justified">

To:

 

<table width="100%" border="0" margin="0" align="justified"  cellpadding="0" cellspacing="0">

The white border goes away.

 

Sometimes what's good for Firefox aint so good for IE, but it's something to try...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Using the web developer tools in Firefox, if I change this:

 

<table width="100%" border="0" margin="0" align="justified">

To:

 

<table width="100%" border="0" margin="0" align="justified"  cellpadding="0" cellspacing="0">

The white border goes away.

 

Sometimes what's good for Firefox aint so good for IE, but it's something to try...

:blush:

 

Cheers!!!

Thats the one!

 

Growth is painful, but damn, It's worth it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...