Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding a table to my default page with a 1pixel border. HELP


Guest

Recommended Posts

Posted

Hi,

 

I've been struggling all day with adding a table to my default page and with a 1pixel border (a 1 pixel grey image) round it, but i also want to put divsions inside this table for different contents etc.

 

this is a rough example of what i'm after.

 

box.gif

 

Whats the easiest way to this, I've been setting a table up in dreamweaver then taking it across and puting it in default,php.

 

please help!

 

Richard

Posted

sorry i meant to ask where's the right place to add a background image to the default page as well.

 

I have tried but it doesn't seem to work properly.

Posted

Try playing w/ cellpadding & cellspacing :

<table bgcolor="#333333" border="0" width="600" height="350" cellspacing="0" cellpadding="0">

<tr>

  <td>

    <table border="0" width="100%" height="100%" cellspacing="1" cellpadding="0">

      <tr>

         <td colspan="2" align="center" bgcolor="#FFFFFF" height="100">HEADER INFO</td>

      </tr>

      <tr>

         <td align="center" bgcolor="#FFFFFF" height="100">CONTENT</td>

         <td align="center" bgcolor="#FFFFFF">CONTENT</td>

      </tr>

      <tr>

         <td align="center" bgcolor="#FFFFFF" height="100">CONTENT</td>

         <td align="center" bgcolor="#FFFFFF">CONTENT</td>

      </tr>

      <tr>

         <td colspan="2" align="center" bgcolor="#FFFFFF" height="50">MORE TEXT</td>

      </tr>

    </table>

  </td>

</tr>

</table>

 

 

background image? not sure this is what you want but

I would put it in default.php :

......................

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" background="path_to_image/image.gif">

<!-- header //-->

......................

 

bye

Archived

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

×
×
  • Create New...