Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Split the Banner


Tsimi

Recommended Posts

Posted

Hallo Ladies and Gents

 

I tried to split my Banner in the Header.php

I want left a small movie running and just to the right one Banner on the upper half and one Banner just under it. so finally ishould have three pictures in my header.

Here is the Code that i tried until now but it buts all the three pictures in one line from up to down.

 

    <table width="21%" border="0" cellpadding="0"cellspacing="0">

<td class="header">

<td width="21%" align="left" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . '1.gif', 'Startpage') . '</a>'; ?>

</td>

</tr>

</table>

 

<table width="60%" border="0" cellpadding="0"cellspacing="0">

<td width="60%" hight="50%" align="left" valign="middle"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . '2.gif', 'Startpage') . '</a>'; ?></td>

</tr>

</table>

 

<table width="60%" border="0" cellpadding="0"cellspacing="0">

<td width="60%" hight="50%" align="left" valign="middle"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . '3.gif', 'Startpage') . '</a>'; ?></td>

 

</tr>

</table>

 

How do i have to modify this Code to put the "1.gif" to the left and the other two just to the right side ("2.gif" up and under it "3.gif").

 

Thanks for any help.

Tsimi (CH)

Archived

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

×
×
  • Create New...