Community Forums 

Main Content

Need help with this template

    Oct 08 2008 01:08:07

    #1

    Bob

    Join date : 2008-09-18      Posts : 21

    I've tried for 2 hours and I'm at a loss.

    The template on the Mal's demo store is almost exactly what I need.
    http://www.mals-e.com/dm/tshirts.php

    I just need to get rid of the 1st silver bar on the left, and the image that goes under it, so that the qty, color, and size will all move to the far left.


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;
    <html xmlns="http://www.w3.org/1999/xhtml">;
    <head>
    <title>Nautical Store</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="style/stylesheet.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
    <div id="container">
    <div id="topbar">
    <ul>
    <li><a href="index.php">Home</a></li>
    <li><a href="books.php">Books</a></li>
    <li><a href="tshirts.php">T-Shirt</a></li>
    <li><a href="http://ww1.aitsafe.com/cf/review.cfm?userid=3100170&return=www.mals-e.com/dm/tshirts.php">View cart</a></li>
    </ul>
    </div>
    <div id="mainarea">
    <div id="product">
    <h1>Body Warmer</h1>
    <p class="description">Available in a choice of colors to match your boat, if you have
    one, or your car if you don't. Made from the finest quality 100% cotton knit,
    machine washable with embroidered Mal's Nautica Motif.</p>

    <p class="description">Now also available in Fluorescent Green for offshore night sailing.</p>

    <form action="http://ww1.aitsafe.com/cf/addmulti.cfm"; method="post">
    <input type="Hidden" name="price1" value="35">
    <input type="Hidden" name="price2" value="35">
    <input type="Hidden" name="price3" value="35">

    <input type="Hidden" name="return" value="www.mals-e.com/dm/tshirts.php">;
    <input type="Hidden" name="userid" value="3100170">

    <table width="70%" cellpadding="2" cellspacing="2" border="0">
    <tr>
    <td width="67" bgcolor="SILVER" valign=top></td>
    <td width="67" bgcolor="SILVER" valign=top><b>Quantity</b></td>
    <td width="125" bgcolor="SILVER" valign=top><b>Color</b></td>
    <td width="162" bgcolor="SILVER" valign=top><b>Size</b></td>
    </tr>
    <tr>
    <td rowspan="3" valign=top><img src="images/91125860.gif" width="80" height="80"></td>
    <td width="67" valign=top><input type=text name="qty1" size="3" maxlength="4"></td>
    <td width="125" valign=top>RED</td>

    <td width="162" valign=top align="right">
    <select name="product1" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Red">Small
    <option value="Medium - Mal's Nautica T-Shirt, Red">Medium
    <option value="Large - Mal's Nautica T-Shirt, Red">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Red">Extra Large
    </select>
    </td>
    </tr>
    <tr>
    <td width="67" valign=top><input type=text name="qty2" size="3" maxlength="4"></td>
    <td width="125" valign=top>GRAY</td>
    <td width="162" valign=top align="right">
    <select name="product2" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Navy">Small
    <option value="Medium - Mal's Nautica T-Shirt, Navy">Medium
    <option value="Large - Mal's Nautica T-Shirt, Navy">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Navy">Extra Large
    </select>
    </td>
    </tr>
    <tr>
    <td width="67" valign=top><input type=text name="qty3" size="3" maxlength="4"></td>
    <td width="125" valign=top>FLUORESCENT GREEN</td>
    <td width="162" valign=top align="right">
    <select name="product3" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Fluorescent">Small
    <option value="Medium - Mal's Nautica T-Shirt, Fluorescent">Medium
    <option value="Large - Mal's Nautica T-Shirt, Fluorescent">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Florecent">Extra Large
    </select>
    </td>
    </tr>
    <tr>
    <td width="67" valign=top>&nbsp;</td>
    <td width="67" valign=top></td>
    <td width="125" valign=top></td>
    <td width="162" valign=top align="right">
    <input type="image" name="Submit" src="images/button_buynow.gif" alt="ADD TO ORDER" class="small" />
    </td>
    </tr>
    </table>
    </form>
    <p>&nbsp;</p>
    <p><b>This is not a real store, it is just a demo.</b> If you you make a purchases your
    card will not be charged and you will not be sent any goods!</p>
    <p>Return to: <a href="http://www.mals-e.com">Mal's e-commerce</a></div>
    <div class="clear"></div>
    </div>
    <div class="clear"></div>
    </div>
    </div>
    </body>
    </html>



    Oct 08 2008 04:53:35

    #2

    Mark J Anderson

    Join date : 2008-09-18      Posts : 9

    I believe you just need to eliminate the following lines:

    line 38: <td width="67" bgcolor="SILVER" valign=top></td>
    and
    line 44: <td rowspan="3" valign=top><img src="images/91125860.gif" width="80" height="80"></td>

    I believe the takes care of the silver bar and picture and everything should shift right.



    Oct 08 2008 08:20:44

    #3

    Don

    Join date : 2008-09-18      Posts : 487

    Try this.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;;
    <html xmlns="http://www.w3.org/1999/xhtml">;;
    <head>
    <title>Nautical Store</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="style/stylesheet.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
    <div id="container">
    <div id="topbar">
    <ul>
    <li><a href="index.php">Home</a></li>
    <li><a href="books.php">Books</a></li>
    <li><a href="tshirts.php">T-Shirt</a></li>
    <li><a href="http://ww1.aitsafe.com/cf/review.cfm?userid=3100170&return=www.mals-e.com/dm/tshirts.php">View cart</a></li>
    </ul>
    </div>
    <div id="mainarea">
    <div id="product">
    <h1>Body Warmer</h1>
    <p class="description">Available in a choice of colors to match your boat, if you have
    one, or your car if you don't. Made from the finest quality 100% cotton knit,
    machine washable with embroidered Mal's Nautica Motif.</p>

    <p class="description">Now also available in Fluorescent Green for offshore night sailing.</p>

    <form action="http://ww1.aitsafe.com/cf/addmulti.cfm";; method="post">
    <input type="Hidden" name="price1" value="35">
    <input type="Hidden" name="price2" value="35">
    <input type="Hidden" name="price3" value="35">

    <input type="Hidden" name="return" value="www.mals-e.com/dm/tshirts.php">;;
    <input type="Hidden" name="userid" value="3100170">

    <table width="70%" cellpadding="2" cellspacing="2" border="1">
    <tr>

    <td width="67" bgcolor="SILVER" valign=top><b>Quantity</b></td>
    <td width="125" bgcolor="SILVER" valign=top><b>Color</b></td>
    <td width="162" bgcolor="SILVER" valign=top><b>Size</b></td>
    </tr>
    <tr>

    <td width="67" valign=top><input type=text name="qty1" size="3" maxlength="4"></td>
    <td width="125" valign=top>RED</td>

    <td width="162" valign=top align="right">
    <select name="product1" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Red">Small
    <option value="Medium - Mal's Nautica T-Shirt, Red">Medium
    <option value="Large - Mal's Nautica T-Shirt, Red">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Red">Extra Large
    </select>
    </td>
    </tr>
    <tr>
    <td width="67" valign=top><input type=text name="qty2" size="3" maxlength="4"></td>
    <td width="125" valign=top>GRAY</td>
    <td width="162" valign=top align="right">
    <select name="product2" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Navy">Small
    <option value="Medium - Mal's Nautica T-Shirt, Navy">Medium
    <option value="Large - Mal's Nautica T-Shirt, Navy">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Navy">Extra Large
    </select>
    </td>
    </tr>
    <tr>
    <td width="67" valign=top><input type=text name="qty3" size="3" maxlength="4"></td>
    <td width="125" valign=top>FLUORESCENT GREEN</td>
    <td width="162" valign=top align="right">
    <select name="product3" size="1">
    <option value="Small - Mal's Nautica T-Shirt, Fluorescent">Small
    <option value="Medium - Mal's Nautica T-Shirt, Fluorescent">Medium
    <option value="Large - Mal's Nautica T-Shirt, Fluorescent">Large
    <option value="Extra Large - Mal's Nautica T-Shirt, Florecent">Extra Large
    </select>
    </td>
    </tr>
    <tr>


    <td width="125" valign=top></td>
    <td width="162" valign=top align="right">
    <input type="image" name="Submit" src="images/button_buynow.gif" alt="ADD TO ORDER" class="small" />
    </td>
    </tr>
    </table>
    </form>
    <p>&nbsp;</p>
    <p><b>This is not a real store, it is just a demo.</b> If you you make a purchases your
    card will not be charged and you will not be sent any goods!</p>
    <p>Return to: <a href="http://www.mals-e.com">Mal's e-commerce</a></div>
    <div class="clear"></div>
    </div>
    <div class="clear"></div>
    </div>
    </div>
    </body>
    </html>

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook