[Cialug] Web Work, HTML Question

Todd Walton tdwalton at gmail.com
Fri Dec 18 16:24:17 CST 2009


<table width="100%" border="1" cellspacing="0" cellpadding="0">
     <tr>
          <td><p align="center">
               <select name="system">
                    <option value="Option1">Option 1</option>
                    <option value="Option2">Option 2</option>
                </select>
               <input type='button' value='Remind' name='bRemind'
onclick='vbscript:MultiFunctions "Remind"'>
               <input type='button' value='Make Statement'
name='bMakeStatement' onclick='vbscript:MultiFunctions
"MakeStatement"'>
          </p></td>
     </tr>
     <tr>
          <p align='center'>
          <td>Date:&nbsp<input type="text" name="impDate" size="10"></td>
          <td>Start Time:&nbsp<input type="text" name="impStart" size="10"></td>
          <td>End Time:&nbsp<input type="text" name="impStop" size="10"></td>
          </p>
     </tr>
</table>

This HTML creates a table that doesn't look like I want it to.  The
drop-down selector and the Remind and MakeStatement buttons are only
50% of screen width, as is the cell with the impDate input box.  The
right half of the screen has the impStart and impStop input boxes.

|     Option1 [Remind] [MakeStatement]     |
                                               |
|     Date: [         ]                                     |
Start Time: [          ]    Stop Time: [            ]     |

Can someone tell me why this is?  What can I change to make the drop
down and the two buttons center across the entire page, instead of
just half of it?

--
Todd


More information about the Cialug mailing list