This is a discussion on Separate header into three boxes within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I would like to have my header consist of separate sections..a left image (left justified) and right image (right Justified) ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I would like to have my header consist of separate sections..a left image (left justified) and right image (right Justified) and a background image. The background is a section that will fill in between the left and right, giving the effect of a continuous banner...regardless of monitor resolution. I've fooled around with the following sections (in Dreamweaver) but everything I tried just "blew things up." Thanks for any advice... <!-- header //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td width="100%"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'OSCMAX_top.jpg', 'osCommerce taken to the max!') . '</a>'; ?></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="headerNavigation"> <td class="headerNavigation">&nbsp;&nbsp;<? php echo $breadcrumb->trail(' &raquo; '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> &nbsp;|&nbsp; <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> &nbsp;&nbsp;</td> </tr> <!-- TS added lower header cell --> <!-- look at backup to insert lower header here //--> <!-- TSend of lower header cell remove above <tr> to </tr> to remove this section --> </table> <!-- header_eof //--> |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Got it...here's the answer: <tr class="header"> <td width="50%" background="images/top_filler.jpg"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'left_top.jpg', 'Emerald BioSystems!') . '</a>'; ?></td> <td width="50%" background="images/top_filler.jpg"><div align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'right_top.jpg', 'Emerald BioSystems!') . '</a>'; ?></div></td> </tr> |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| checkout_shipping_address.php list states in separate boxes | where_s_gary | osCMax v2 Customization/Mods | 2 | 10-15-2005 04:29 PM |
| change boxes background color now have double boxes | ANNIE11 | osCMax v1.7 General Mods Discussion | 0 | 08-22-2005 07:16 PM |
| login header boxes extra character appears | altenter | osCMax v1.7 Discussion | 8 | 08-15-2005 07:18 PM |
| color of header text in new products and specials boxes | dschroedl | osCMax v1.7 Discussion | 1 | 08-24-2004 05:35 AM |
| header / header.php top logo problem | the_error_king | osCommerce 2.2 Modification Help | 0 | 04-05-2004 05:02 PM |