garrityplus Posted November 28, 2002 Posted November 28, 2002 right now, my website has the images seperated from the bar as seen above. I want it so the image sits snug on the blue bar so you don't see the space. Can someone help me please?
Ian Posted November 28, 2002 Posted November 28, 2002 Without seiing the html you used for this, no. If this in contained inside 1 table you could try setting the cellpadding and cellspacing attributes to zero. Trust me, I'm an Accountant.
mattice Posted November 28, 2002 Posted November 28, 2002 And valign="bottom" for the tabs cells (<td>) will help :) "Politics is the art of preventing people from taking part in affairs which properly concern them"
CC Posted November 28, 2002 Posted November 28, 2002 Holy cow! If you are struggling with this, then you need to go buy a nice HTML book and brush up on it. Make sure, if you have substituted the header background image for a seperate image, that you havent created spacers somewhere along the line. If you have, for instance, used Dreamweaver or something similar, the bugger does have a tendency to add spacers for you. This might cause your header.php to have more <tr> & <td> than you need, and will push out your images all over the place. CC.
garrityplus Posted November 29, 2002 Author Posted November 29, 2002 valign is set as the cell padding and spacing is at zero too already. I am using dreamweaver, but haven't used the debugger yet. What else should i try?
garrityplus Posted November 29, 2002 Author Posted November 29, 2002 also, is that blue part still part of header.php?
garrityplus Posted November 29, 2002 Author Posted November 29, 2002 i replaced the store name with asktriks. I just want to keep this thing private unless i open. Thanks for all your help <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'elitgo.gif', '****** Online Store'); ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> <html> <a href="https://www.******.com/catalog/account_history.php" TARGET="_self"><img src="/catalog/images/header_orderstatus.gif" border="0"> <a href="http://www.******.com/forums/" AREA SHAPE="shape" COORDS="550,400" HREF="http://www.******.com/forums/" TARGET="_blank"><img src="/catalog/images/header_forums.gif" border="0"></a> </html></td>
Ian Posted November 29, 2002 Posted November 29, 2002 Is the code you posted correct?? Can't see a closing </table> tag and you have a </html> mixed in there and an area shape as well :( If Dreamweaver is responsible for this I'd give it a good slapping. :) When you created it in dreamweaver did it look Ok? I'm assuming the blue bar is part of stock oscommerce if so your going to have to work a bit more to get them snug as this is drawn in a different table. Trust me, I'm an Accountant.
garrityplus Posted November 29, 2002 Author Posted November 29, 2002 </tr> </table> i'm sorry, that part was missing. but which file is the blue bar contained in? any other suggestions
Ian Posted November 29, 2002 Posted November 29, 2002 Its in includes/header.php <table border="0" width="100%" 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, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> </table> Trust me, I'm an Accountant.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.