PDA

View Full Version : One line form making table FAT.....


halo242
05-02-2006, 02:14 PM
Can anyone help with this? I was making a simple newsletter sign up form but Im under space constraints so I made it as thin as I could but it displays bith this extra fat space in the table row. The two rows need to be the same height. Heres the code


<table width="166" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>images/trim/newsletter.gif</td>
</tr>
<tr>
<td bgcolor="#F3F3F3"><form name="form1" method="post" action=""><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="125" class="bask02"><div align="center">
<input name="textfield2" type="text" class="bask01" value="Your Email Here!" size="20"></div></td>
<td width="79"><div align="right">
<input name="Submit" type="submit" class="bask01" value="Join!">
<input name="m" type="hidden" id="m" value="1011214174518">
<input name="p" type="hidden" id="p" value="oi">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>


Does anyone have any thoughts on this?
-Paul

gondoman
05-02-2006, 03:20 PM
I made a new css style in Dreamweaver to edit the form tag.
New Css style
Change the CSS change selector type radio button to tag
Set tag: to form.
Go to category Box, set margin to 0.
8)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
form {
margin: 0px;
}
-->
</style>
</head>

<body>
<table width="166" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>images/trim/newsletter.gif</td>
</tr>
<tr>
<td bgcolor="#F3F3F3"><form name="form1" method="post" action=""><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="bask02"><div align="center">
<input name="textfield2" type="text" class="bask01" value="Your Email Here!" size="20"></div></td>
<td width="79"><div align="right">
<input name="Submit" type="submit" class="bask01" value="Join!">
<input name="m" type="hidden" id="m" value="1011214174518">
<input name="p" type="hidden" id="p" value="oi">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>