if you dont mention the width of a table in IE, it normally assumes it is 50% of the table.
specify the width for the first column td and it should be fine.
the column where you have the form identifiers (first name, last name, company name etc..)
since u have already set the first name to be 99px width.
specify the same value to the other rows below it and it should be fine
here is the code for that table alone
Code:
<table width="100%" cellpadding="5" cellspacing="0" class="silver">
<tr>
<td width="99"><label for="firstname"<?=($_SESSION['error']['firstname'] ? " class=\"error\"" : "")?>>First Name:</label></td>
<td><div align="left">
<input name="firstname" type="text" class="gen" id="firstname"<?=($_SESSION['order']['firstname'] ? " value=\"{$_SESSION['order']['firstname']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="lastname"<?=($_SESSION['error']['lastname'] ? " class=\"error\"" : "")?>>Last Name:</label></td>
<td><div align="left">
<input name="lastname" type="text" class="gen" id="lastname"<?=($_SESSION['order']['lastname'] ? " value=\"{$_SESSION['order']['lastname']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="company"<?=($_SESSION['error']['company'] ? " class=\"error\"" : "")?>>Company Name:</label></td>
<td><div align="left">
<input name="company" type="text" class="gen" id="company"<?=($_SESSION['order']['company'] ? " value=\"{$_SESSION['order']['company']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="address"<?=($_SESSION['error']['address'] ? " class=\"error\"" : "")?>>Address:</label></td>
<td><div align="left">
<input name="address" type="text" class="gen" id="address"<?=($_SESSION['order']['address'] ? " value=\"{$_SESSION['order']['address']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="city"<?=($_SESSION['error']['city'] ? " class=\"error\"" : "")?>>City:</label></td>
<td><div align="left">
<input name="city" type="text" class="gen" id="city"<?=($_SESSION['order']['city'] ? " value=\"{$_SESSION['order']['city']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="country"<?=($_SESSION['error']['country'] ? " class=\"error\"" : "")?>>Country:</label></td>
<td><div align="left">
<select name="country" class="gen" id="country" onchange="update_state(this,'state','province');">
<?php
foreach($countries as $k => $country)
{
if(isset($_SESSION['order']['country']) && $_SESSION['order']['country'] == $k)
{
?>
<option selected="selected" value="<?=$k?>">
<?=$country?>
</option>
<?php
}
elseif($country == "")
{
?>
<option selected="selected"></option>
<?php
}
else
{
?>
<option value="<?=$k?>">
<?=$country?>
</option>
<?php
}
}
?>
</select>
</div></td>
</tr>
<tr>
<td width="99"><label for="state"<?=($_SESSION['error']['state'] ? " class=\"error\"" : "")?>>State:</label></td>
<td colspan="2"><div align="left">
<select name="state" class="gen" id="state" onchange="update_other(this,'state','province');">
<?php
foreach($states as $k => $state)
{
if(isset($_SESSION['order']['state']) && $_SESSION['order']['state'] == $k)
{
?>
<option selected="selected" value="<?=$k?>">
<?=$state?>
</option>
<?php
}
elseif($state == "")
{
?>
<option selected="selected"></option>
<?php
}
else
{
?>
<option value="<?=$k?>">
<?=$state?>
</option>
<?php
}
}
?>
</select>
</div></td>
</tr>
<tr>
<td width="99"><label for="zip"<?=($_SESSION['error']['zip'] ? " class=\"error\"" : "")?>>Zip Code:</label></td>
<td><div align="left">
<input name="zip" type="text" class="gen" id="zip"<?=($_SESSION['order']['zip'] ? " value=\"{$_SESSION['order']['zip']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="phone_num"<?=($_SESSION['error']['phone_num'] ? " class=\"error\"" : "")?>>Phone Number:</label></td>
<td><div align="left">
<input name="phone_num" type="text" class="gen" id="phone_num"<?=($_SESSION['order']['phone_num'] ? " value=\"{$_SESSION['order']['phone_num']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td width="99"><label for="email"<?=($_SESSION['error']['email'] ? " class=\"error\"" : "")?>>Email Address:</label></td>
<td><div align="left">
<input name="email" type="text" class="gen" id="email"<?=($_SESSION['order']['email'] ? " value=\"{$_SESSION['order']['email']}\"" : "")?> />
</div></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
</table>
|