Guest Posted February 21, 2008 Posted February 21, 2008 Help me. I have tried to edit the html (great fear of php) to extend the header across 100% of the screen. This to include the header navigation as well. Also edited the CSS file. Trying to edit the header.php file to achieve this. Want to control images to appear as if part of the fixcentre class. Header at 100%. All is going well except where I define table cell (auto fit), table cell(379 pixels), table cell(379 pixels), table cell(autofit). Can't get code to recognise autofit cells? :'( Colour added to outside cells for viewing only. AS FOLLOWS: <table bgcolor="ffffff" border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td align="center" valign="middle" bgcolor="#71cfea"></td> <td align="left" valign="bottom" width="379"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.gif', STORE_NAME) . '</a>'; ?></td> <td align="right" valign="bottom" width="379"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_header_image.gif', STORE_NAME) . '</a>'; ?></td> <td align="center" valign="middle" bgcolor="#71cfea"></td> </tr> </table> <table border="0" width="100%" height="25" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></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> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> <div class="fixcenter"> AS FINISHED: Where am I going wrong? Is it a php, html thing I should know? Thanks Shelley
Guest Posted February 22, 2008 Posted February 22, 2008 Fixed. I did a table within a table html code. I'm happy. you can see it at www.sophiespleasure.com/catalog/ Thanks Shelley PS. It would be nice if there were a magic wand to wave. But I guess there's more self satisfaction in getting it yourself. Of course, not at the time.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.