sweetjaime Posted February 27, 2006 Posted February 27, 2006 could someplease look at my header here : www.bella-bijou.com/catalog and help my figure out why my header is centered, but slightly off center ? Ive tried all sorts of things andnothing seems ot work! Thanks! Also.... my footer is slightly off center too.... ive searched hte forums for help on both of these problems and come up with nothing. Thanks!
sweetjaime Posted February 27, 2006 Author Posted February 27, 2006 could someplease look at my header here : www.bella-bijou.com/catalog and help my figure out why my header is centered, but slightly off center ? Ive tried all sorts of things andnothing seems ot work! Thanks! Also.... my footer is slightly off center too.... ive searched hte forums for help on both of these problems and come up with nothing. Thanks! Oh and i forgot its password protected please use the user name "osc" and the password "osc" to view thanks!
♥Vger Posted February 27, 2006 Posted February 27, 2006 Undo the changes you have made to try and centre things and then apply my Fixed Width Site With CSS contribution (link below). It's also my guess that while you have centred the header table you have not centred your logo inside of the table. Vger
sweetjaime Posted February 27, 2006 Author Posted February 27, 2006 Undo the changes you have made to try and centre things and then apply my Fixed Width Site With CSS contribution (link below). It's also my guess that while you have centred the header table you have not centred your logo inside of the table. Vger Can you explain to me how i would center my logo then? because everything else in my site is centered except hte footer banner and the header logo. Thanks i really appreciatte the help!
sweetjaime Posted March 1, 2006 Author Posted March 1, 2006 PLease anyone ? Ive searched for a way to and ive tried all sorts of things wiht no luck!
♥Vger Posted March 1, 2006 Posted March 1, 2006 <center><a href="index.php"><img src="images/logo.gif" width=whatever height=whatever border=0 alt="whatever"></a></center> Vger
sweetjaime Posted March 2, 2006 Author Posted March 2, 2006 <center><a href="index.php"><img src="images/logo.gif" width=whatever height=whatever border=0 alt="whatever"></a></center> Vger which file am i changing this in ? Thanks Sorry im sure it seems like a stupid question to you, but im learning still!
sweetjaime Posted March 6, 2006 Author Posted March 6, 2006 which file am i changing this in ? Thanks Sorry im sure it seems like a stupid question to you, but im learning still! Anyone ? I still dont know where to find this code ?
jenalcom Posted March 6, 2006 Posted March 6, 2006 I believe that's in the header file. In /includes/header.php about line 60 delete or remark out the section that starts <td align="right" valign="bottom"> and finishes </a> </td> it's only 2 or 3 lines. That will remove the second cell from your header box - the first cell contains your logo and the second cell is showing up as a pink box at the moment. HTH Alan
sweetjaime Posted March 9, 2006 Author Posted March 9, 2006 Sorry but i dont see anywhere in my includes/header where the codes starts with <td align="right" valign="bottom"> and ends with </a> </td> i looked through it up and down many times!
jenalcom Posted March 10, 2006 Posted March 10, 2006 Sorry but i dont see anywhere in my includes/header where the codes starts with <td align="right" valign="bottom"> and ends with </a> </td> i looked through it up and down many times! In an un-modyfied /catalog/includes/header.php it's actually line 58: (this is using OsCommerce 2.2ms2 - 051113) <quote> <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) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </quote> Just remark out (or delete) this line. Remember - make a back-up first. HTH Alan
sweetjaime Posted March 10, 2006 Author Posted March 10, 2006 In an un-modyfied /catalog/includes/header.php it's actually line 58:(this is using OsCommerce 2.2ms2 - 051113) <quote> <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) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </quote> Just remark out (or delete) this line. Remember - make a back-up first. HTH Alan THANK YOU THANKYOU! I finally centered it ! You rock!
jenalcom Posted March 10, 2006 Posted March 10, 2006 THANK YOU THANKYOU! I finally centered it ! You rock! No problems! The logo looks good now - perhaps make the logo slightly larger so that it fills the width of the cell (and therefore looses the pink verticals at each end). Have fun! Alan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.