Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding HTML table to Info Box


Guest

Recommended Posts

Hi,

 

I have installed the contribution Easy Update Information Pages which allows you to update the contents of your information boxes from the control panel area. The installation was fine and I also created a new box for my own purpose.

I have added text to Conditions etc but I wish to inseret a table into one of the pages this mod creates. I sell Lingerie and of course, size really does matter.

I created a table in a HTML editor and assumed that this could be pasted into the area in the admin page and would appear as if by magic looking all beautiful when customers clicked to look at it. No such luck. My beautiful table looks great in the web editor but when I paste the HTML code it is coming out all wrong.

 

This is the code:

<html>

<head>

<title></title>

</head>

<body>

<center>

<table width="371" height="286" cellpadding="5" cellspacing="0" bordercolor="#000000" style="BORDER-RIGHT: #d2bbfa 1px solid; BORDER-TOP: #d2bbfa 1px solid; BORDER-LEFT: #d2bbfa 1px solid; BORDER-BOTTOM: #d2bbfa 1px solid">

<tr bgcolor="#CCCCFF">

<td valign="MIDDLE">

<div align="left">

<font color="#CCCCFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">

w</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Bust</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Cup Size</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Waist</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Hips</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Dress Size</font></strong></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Small</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

32-34</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

A-B</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

23-25</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

34-36</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

6-8</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Medium</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

34-37</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

B-C</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

25-28</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

36-39</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

10-12</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

Large</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

37-40</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

C</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

28-31</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

39-41</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

14</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

X-Large</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

39-41</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

C-D</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

30-32</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

40-42</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

16</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">1X</font></strong></td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">39-42</font></div>

</td>

<td valign="MIDDLE"> </td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">31-34</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">41-44</font></div>

</td>

<td valign="MIDDLE"> </td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">2X</font></strong></td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">43-45</font></div>

</td>

<td valign="MIDDLE"> </td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">35-37</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">45-47</font></div>

</td>

<td valign="MIDDLE"> </td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">3X</font></strong></td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">46-48</font></div>

</td>

<td valign="MIDDLE"> </td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">38-40</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">48-50</font></div>

</td>

<td valign="MIDDLE"> </td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

One Size</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

32-40</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">

w</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

23-31</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

34-38</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

6-14</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

S/M</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

32-36</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">

w</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

23-27</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

34-39</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

6-8</font></div>

</td>

</tr>

 

<tr>

<td valign="MIDDLE" bgcolor="#FFFFeb">

<div align="left">

<strong><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

M/L</font></strong></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

34-40</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">

w</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

25-31</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

39-41</font></div>

</td>

<td valign="MIDDLE">

<div align="center">

<font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="1">

10-14</font></div>

</td>

</tr>

</table>

 

<br>

 

 

<font size="1" color="#000000" face="Verdana, Arial, Helvetica">Men's Size

Chart<br>

</font>

 

<table width="212" height="158" border="0" cellpadding="5" cellspacing="0" bordercolor="#000000" style="BORDER-RIGHT: #d2bbfa 1px solid; BORDER-TOP: #d2bbfa 1px solid; BORDER-LEFT: #d2bbfa 1px solid; BORDER-BOTTOM: #d2bbfa 1px solid">

<tr bgcolor="#CCCCFF">

<td colstart="1"><font color="#CCCCFF">w</font></td>

<td colstart="2">

<font face="Verdana, Arial, Helvetica" size="1" color="#000000"><b>Waist</b></font></td>

</tr>

 

<tr>

<td colstart="1" bgcolor="#FFFFeb">

<strong><font face="Verdana, Arial, Helvetica" size="1" color="#000000">Small</font></strong></td>

<td colstart="2">

<font face="Verdana, Arial, Helvetica" size="1" color="#000000">28-30</font></td>

</tr>

 

<tr>

<td colstart="1" bgcolor="#FFFFeb">

<strong><font face="Verdana, Arial, Helvetica" size="1" color="#000000">Medium</font></strong></td>

<td colstart="2">

<font face="Verdana, Arial, Helvetica" size="1" color="#000000">32-34</font></td>

</tr>

 

<tr>

<td colstart="1" bgcolor="#FFFFeb">

<strong><font face="Verdana, Arial, Helvetica" size="1" color="#000000">Large</font></strong></td>

<td colstart="2">

<font face="Verdana, Arial, Helvetica" size="1" color="#000000">36-38</font></td>

</tr>

 

<tr>

<td colstart="1" bgcolor="#FFFFeb">

<strong><font face="Verdana, Arial, Helvetica" size="1" color="#000000">X-Large</font></strong></td>

<td colstart="2">

<font face="Verdana, Arial, Helvetica" size="1" color="#000000">38-40</font></td>

</tr>

</table>

</center>

 

<p> </p>

</body>

</html>

 

 

How it looks on the page can be viewed at http://www.mypleasureisland.co.uk/Size_Chart.php

 

Could some kind soul review this for me please. I have been tinkering with this for 2 days now and have exhausted my very scant knowledge of these matters.

 

Eternal thanks to all.

 

Jean

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...