patrickbailey1 Posted January 18, 2005 Posted January 18, 2005 I'm in the process of getting a logo professionally designed so I've been trying out different logo's in my websites header. The problem is that they come in different ratio's of height to width so I just defined the height and upload different trial logos. The problem is that the definition of the height isn't working. If I define the height as 400px, the image only goes to 100 something. Can someone take a look at this header code and tell me what I'm missing that would restrict the image from being large...the image is "dhaven.gif" right at the beginnning. Much appreciated! Patrick Bailey <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td rowspan="2"><img src="images/dhaven.gif" height="400" alt="dhaven"></td> <td rowspan="2" align="right" valign="middle" class="headersearch"> <?php require(DIR_WS_BOXES . 'header_search.php'); ?> </td> <td align="right"><a href="account.php" onmouseover="window.status='Log into your account and change your account details'; return true;" onmouseout="window.status=''; return true;"><font color="#666666" size="1" face="Arial, Helvetica, sans-serif">My Account</font></a><font color="#666666" size="1" face="Arial, Helvetica, sans-serif"> | <a href="shopping_cart.php" onmouseover="window.status='Take a look at your shopping cart...'; return true;" onmouseout="window.status=''; return true;">My Cart</a> | <a href="checkout_shipping.php" onmouseover="window.status='Complete the transaction...'; return true;" onmouseout="window.status=''; return true;">Checkout</a></font></td> </tr> <tr> <td > <table align="right" border="0" cellspacing="0" cellpadding="0"> <tr class="HeaderShop"> <td class="HeaderShop" align="right"> Items: </td> <td class="HeaderShop" align="left"> <?php echo $cart-> count_contents(); ?> </td> <td class="HeaderShop" align="right"> Total: </td> <td class="HeaderShop" align="left"> <?php echo $currencies-> format($cart->show_total()); ?> </td> </tr> </table> </td> </tr> </table> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"><div id="navcontainer" align="center"> <ul id="navlist"> <li id="active"> <a href="index.php" id="current"><font color="#FFFFFF">Home</font></a></li> <li><a href="new.php"><font color="#FFFFFF">What's New?</font></a></li> <li><a href="http://www.pickmyplasma.com"><font color="#FFFFFF">Buying Guide</font></a></li> <li><a href="whybuyhere.php"><font color="#FFFFFF">Why Buy Here?</font></a></li> <li><a href="commercial.php"><font color="#FFFFFF">Commercial</font></a></li> <li><a href="contact_details.php"><font color="#FFFFFF">Contact Details</font></a></li> </ul> </div></td> </tr> <tr> <Td background="images/bgline.gif" height="7"><img src="images/spacer.gif"></Td> </tr> </table> My Webpage Patrick Bailey www.DisplayHaven.com
wheeloftime Posted January 19, 2005 Posted January 19, 2005 I'm in the process of getting a logo professionally designed so I've been trying out different logo's in my websites header. The problem is that they come in different ratio's of height to width so I just defined the height and upload different trial logos. The problem is that the definition of the height isn't working. If I define the height as 400px, the image only goes to 100 something. Can someone take a look at this header code and tell me what I'm missing that would restrict the image from being large...the image is "dhaven.gif" right at the beginnning. Much appreciated! Patrick Bailey <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td rowspan="2"><img src="images/dhaven.gif" height="400" alt="dhaven"></td> <td rowspan="2" align="right" valign="middle" class="headersearch"> <?php require(DIR_WS_BOXES . 'header_search.php'); ?> </td> <td align="right"><a href="account.php" onmouseover="window.status='Log into your account and change your account details'; return true;" onmouseout="window.status=''; return true;"><font color="#666666" size="1" face="Arial, Helvetica, sans-serif">My Account</font></a><font color="#666666" size="1" face="Arial, Helvetica, sans-serif"> | <a href="shopping_cart.php" onmouseover="window.status='Take a look at your shopping cart...'; return true;" onmouseout="window.status=''; return true;">My Cart</a> | <a href="checkout_shipping.php" onmouseover="window.status='Complete the transaction...'; return true;" onmouseout="window.status=''; return true;">Checkout</a></font></td> </tr> <tr> <td > <table align="right" border="0" cellspacing="0" cellpadding="0"> <tr class="HeaderShop"> <td class="HeaderShop" align="right"> Items: </td> <td class="HeaderShop" align="left"> <?php echo $cart-> count_contents(); ?> </td> <td class="HeaderShop" align="right"> Total: </td> <td class="HeaderShop" align="left"> <?php echo $currencies-> format($cart->show_total()); ?> </td> </tr> </table> </td> </tr> </table> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2"><div id="navcontainer" align="center"> <ul id="navlist"> <li id="active"> <a href="index.php" id="current"><font color="#FFFFFF">Home</font></a></li> <li><a href="new.php"><font color="#FFFFFF">What's New?</font></a></li> <li><a href="http://www.pickmyplasma.com"><font color="#FFFFFF">Buying Guide</font></a></li> <li><a href="whybuyhere.php"><font color="#FFFFFF">Why Buy Here?</font></a></li> <li><a href="commercial.php"><font color="#FFFFFF">Commercial</font></a></li> <li><a href="contact_details.php"><font color="#FFFFFF">Contact Details</font></a></li> </ul> </div></td> </tr> <tr> <Td background="images/bgline.gif" height="7"><img src="images/spacer.gif"></Td> </tr> </table> My Webpage <{POST_SNAPBACK}> In catalog/includes/header.php I added height to: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0" height="60"> and that way I can change to height of the header to whatever I need for my pictures in there. You have to define it for the whole table not the seperate table column.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.