unixfox Posted May 9, 2007 Share Posted May 9, 2007 Hi All, Ok, I replaced the stock OSC logo with my own, no problem there. I added my site name directly to the right of the logo. The problem is, it has blank spaces between my logo and the text. You can see it here --> http://www.resolvecomputers.com/shop I want the text to be right up against my logo without spaces. Here is my code for the header: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'Resolve Computers') . '</a>'; ?> <td align="left" valign="absmiddle"> <font face="Lucida Sans Unicode" size="5" color="#FFD98A">Resolve Computers</font><font size=1></font><font face="Lucida Sans Unicode" size="5" color="#FFD98A"></font> <br> <font face="Lucida Sans Unicode" color="#FFD98A" size="3"> Online Catalog</font> I am using the nbsp; to center the bottom line with the top line as you can see. How can I get this to work? Does it have something to do with the size of the original OSC logo and that's why I get the space between? Thanks in advance. Link to comment Share on other sites More sharing options...
usernamenone Posted May 10, 2007 Share Posted May 10, 2007 <tr> <td valign="middle" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'Resolve Computers') . '</a>'; ?> </td> <td align="center" valign="absmiddle"><font face="Lucida Sans Unicode" size="5" color="#FFD98A">Resolve Computers</font> <br> <font face="Lucida Sans Unicode" color="#FFD98A" size="3">Online Catalog</font></td> <td align="left" valign="absmiddle"></td> </tr> Hi All, Ok, I replaced the stock OSC logo with my own, no problem there. I added my site name directly to the right of the logo. The problem is, it has blank spaces between my logo and the text. You can see it here --> http://www.resolvecomputers.com/shop I want the text to be right up against my logo without spaces. Here is my code for the header: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'Resolve Computers') . '</a>'; ?> <td align="left" valign="absmiddle"> <font face="Lucida Sans Unicode" size="5" color="#FFD98A">Resolve Computers</font><font size=1></font><font face="Lucida Sans Unicode" size="5" color="#FFD98A"></font> <br> <font face="Lucida Sans Unicode" color="#FFD98A" size="3"> Online Catalog</font> I am using the nbsp; to center the bottom line with the top line as you can see. How can I get this to work? Does it have something to do with the size of the original OSC logo and that's why I get the space between? Thanks in advance. Link to comment Share on other sites More sharing options...
unixfox Posted May 10, 2007 Author Share Posted May 10, 2007 I wish I could say that your contribution worked, but unfortunately it didn't. If you like at the link you can see what is happening. The logo is where it's supposed to be, but the text is spaced over too far from the logo. What I'm trying to accomplish is make the text right up against the logo with no spaces. Thanks for trying. <tr> <td valign="middle" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'Resolve Computers') . '</a>'; ?> </td> <td align="center" valign="absmiddle"><font face="Lucida Sans Unicode" size="5" color="#FFD98A">Resolve Computers</font> <br> <font face="Lucida Sans Unicode" color="#FFD98A" size="3">Online Catalog</font></td> <td align="left" valign="absmiddle"></td> </tr> Link to comment Share on other sites More sharing options...
slimeruk Posted May 10, 2007 Share Posted May 10, 2007 Shove in a table? <table width="100%" border="0"> <tr> <td width="42"><a href="http://resolvecomputers.com/shop/index.php"><img'>http://resolvecomputers.com/shop/index.php"><img src="images/logo.gif" border="0" alt="Resolve Computers" title=" Resolve Computers " width="42" height="52"></a></td> <td><font face="Lucida Sans Unicode" size="5" color="#FFD98A">Resolve Computers</font><font size=1> </font><font face="Lucida Sans Unicode" size="5" color="#FFD98A"> </font> <br> <font face="Lucida Sans Unicode" color="#FFD98A" size="3"> Online Catalog</font></td> <td><div align="right"><img src="images/ccards.gif" align="bottom"></div></td> </tr> </table> <tr class="header"> <td valign="middle"> <td align="left" valign="absmiddle"> <!-- --> <!-- <img src="images/logo1.gif"> --> <br> </td> <!-- <td align="right" valign="bottom"><a href="http://resolvecomputers.com/shop/account.php"><img'>http://resolvecomputers.com/shop/account.php"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="16" height="18"></a> <a href="http://resolvecomputers.com/shop/shopping_cart.php"><img'>http://resolvecomputers.com/shop/shopping_cart.php"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="20" height="14"></a> <a href="http://resolvecomputers.com/shop/checkout_shipping.php"><img'>http://resolvecomputers.com/shop/checkout_shipping.php"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a> </tr> </table> --> <td align="right" valign="middle"> </tr> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://resolvecomputers.com/shop/index.php" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://resolvecomputers.com/shop/account.php" class="headerNavigation">My Account</a> | <a href="http://resolvecomputers.com/shop/shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="http://resolvecomputers.com/shop/checkout_shipping.php" class="headerNavigation">Checkout</a> </td> </tr> </table> Link to comment Share on other sites More sharing options...
unixfox Posted May 10, 2007 Author Share Posted May 10, 2007 Shove in a table? That was the key! I didn't even think about inserting a table. Thanks a million! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.