Announcement

Collapse
No announcement yet.

Layout Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Layout Code

    Ok who can help this "dumpling" (i.e. me) as I probably can't see the woods for the trees, the HTML below generates a header (links wrong I know) but the catalogue body is hugely wide in comparison...?

    Any help most appreciated;

    /// HTML Above Removed ///

    <link href="http://www.naughtyvend.com/newsite/style/global.css" rel="stylesheet" type="text/css">
    </head>

    <body onload="<actinic:variable name="OnLoadScript" value="PreloadImages" />">

    <leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="800" height="24%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td align="center" valign="top" height="0">
    <table width="747" height="24%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="shadowLft"><table width="100%" height="129" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="258" valign="top">
    <table height="129" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="24" align="left" width="200">
    </td>
    </tr>
    <tr>
    <td height="44" align="left" width="200">

    <?php $day = date("l");?>
    <?php $dates = date("j");?>
    <?php $suffix = date("S");?>
    <?php $month = date("F");?>
    <?php $year = date("Y");?>

    <height="20" align="left"><img src="http://www.naughtyvend.com/newsite/images/img_date.jpg">&nbsp<?echo$day?>,&nbsp<?echo$dates?><?echo$suffix?>&nbsp<?echo$month?>&nbsp<?echo$year?>
    </td></tr>
    <tr>
    <td height="61" class="date" style="background-color: #990000" width="200">
    </td> </tr> </table></td>

    <td valign="top">
    <table width="599" height="129" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="68" align="left" valign="top"><table width="100%" height="67" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="24" class="basket" width="600">
    <span class="basket"><img src="http://www.naughtyvend.com/newsite/images/icon_basket.gif" width="13" height="10" align="absmiddle">
    <a href="myAccount.php" class="basketLink">Shopping Basket (0)</a>&nbsp;&nbsp;
    <img src="http://www.naughtyvend.com/newsite/images/img_seperator.gif" width="5" height="17" align="absmiddle">&nbsp;
    <img src="http://www.naughtyvend.com/newsite/images/icon_checkout.gif" width="11" height="9">
    <a href="myAccount.php" class="basketLink">Checkout</a></span></td></tr>
    <tr>
    <td align="right" width="600">
    <table height="27" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="13" align="right">
    <img src="http://www.naughtyvend.com/newsite/images/img_subMenuEnd.gif" width="13" height="27"></td>
    <td width="59" class="subMenu"><a href="index.php" class="subMenuLink">Home</a>
    <img src="http://www.naughtyvend.com/newsite/images/icon_home.gif" width="11" height="10" align="absmiddle"></td>
    <td width="5" class="subMenu">
    <img src="http://www.naughtyvend.com/newsite/images/img_seperator.gif" width="5" height="17"></td>
    <td class="subMenu" style="text-align: left">
    <a href="about.php" class="subMenuLink">About Us</a>
    <img src="http://www.naughtyvend.com/newsite/images/icon_about.gif" width="13" height="14" align="absmiddle"></td>
    <td width="5" class="subMenu">
    <img src="http://www.naughtyvend.com/newsite/images/img_seperator.gif" width="5" height="17"></td>
    <td width="96" class="subMenu">
    <a href="myAccount.php" class="subMenuLink">My Account</a>
    <img src="http://www.naughtyvend.com/newsite/images/icon_acc.gif" width="11" height="6" align="absmiddle"></td>
    </tr>
    </table>
    </td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="31" align="right" bgcolor="#990000" width="600">
    <a href="venues.php"><img src="http://www.naughtyvend.com/newsite/images/nav_venues.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/nav_venues_lite.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/nav_venues.jpg'" alt="Instalation Information and Directory"></a><a href="franchise.php"><img src="http://www.naughtyvend.com/newsite/images/nav_franchise.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/nav_franchise_lite.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/nav_franchise.jpg'" alt="Information About the Naughty Vending Franchise"></a><a href="machines.php"><img src="http://www.naughtyvend.com/newsite/images/nav_machines.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/nav_machines_lite.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/nav_machines.jpg'" alt="View our Range of Vending Machines"></a><a href="products.php"><img src="http://www.naughtyvend.com/newsite/images/nav_products.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/nav_products_lite.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/nav_products.jpg'" alt="The Range of Naughty Vending Products"></a><a href="contact.php"><img src="http://www.naughtyvend.com/newsite/images/nav_contact.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/nav_contact_lite.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/nav_contact.jpg'" alt="Contact 08718 717171 or Click Here for Other Options"></a></td>
    </tr>
    <tr>
    <td height="30" align="right" bgcolor="#990000" width="600"><img src="http://www.naughtyvend.com/newsite/images/menunav.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/menunavy.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/menunav.jpg'"><img src="http://www.naughtyvend.com/newsite/images/menunav.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/menunavy.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/menunav.jpg'"><img src="http://www.naughtyvend.com/newsite/images/menunav.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/menunavy.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/menunav.jpg'"><img src="http://www.naughtyvend.com/newsite/images/menunav.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/menunavy.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/menunav.jpg'"><img src="http://www.naughtyvend.com/newsite/images/menunav.jpg" width="97" height="30" border="0" onMouseOver="this.src='http://www.naughtyvend.com/newsite/images/menunavy.jpg'" onMouseOut="this.src='http://www.naughtyvend.com/newsite/images/menunav.jpg'"></td>
    </tr>
    </table></td>



    <table cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td valign="top" class="sidebar" width="100">
    <actinic:variable name="TopLevelSectionList" if="%3cactinic%3avariable%20name%3d%22IsTopSectionListIncluded%22%20%2f%3e" />
    <actinic:variable name="BestSellerListSidebar" if="%3cactinic%3avariable%20name%3d%22BestSellersListInSidebar%22%20%2f%3e" />
    <actinic:variable name="NewProductListSidebar" if="%3cactinic%3avariable%20name%3d%22NewProductsListInSidebar%22%20%2f%3e" />
    </td>
    <td valign="top" class="bulk" width="600">
    <a name="top"></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e">
    <!-- When logged in, this gives the company name, username and a login link -->
    <Actinic:Variable Name="NowServing"/><Actinic:Variable Name="CurrentAccount"/><Actinic:Variable Name="LogoutSimple"/><br />
    </actinic:block>

    <div align="center">
    <actinic:variable name="HeaderFooter" value="Header Text" />
    </div>

    <actinic:variable name="INNERLAYOUT" />

    <div align="center">
    <actinic:variable name="HeaderFooter" value="Footer Text" />
    </div>

    <actinic:block if="%3cactinic%3avariable%20name%3d%22ReferrerLinkIsEnabled%22%20%2f%3e%20AND%20%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Store%20Front%20Page%22%29">
    <actinic:variable name="ReferrerLink" />
    </actinic:block>
    </td>
    <td valign="top" class="sidebar" width="100">
    <actinic:variable name="QuickSearchBar" /><br />
    <actinic:variable name="ShoppingCartSummary" />
    <actinic:variable value="Sidebar Coupon Field" name="CouponEntryField" if="%3cactinic%3avariable%20name%3d%22CaptureCoupon%22%20%2f%3e" />
    </td>
    </tr>
    </table>

    </body>

    </html>

    #2
    Hi David,

    I have attached a screen shot of my overall layout using your code. Can you tell me what exactly you are after please?

    Kind regards,
    Attached Files
    Bruce King
    SellerDeck

    Comment


      #3
      Bruce, that is weird...

      I have not uploaded nor previewed the site but in the Actinic Preview window my view has the header 800 pixels and the body of the catalogue almost double the size.

      I'll do a backup and upload to the live site and see what happens.

      Comment

      Working...
      X