There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
adware audio bios blue screen boot bsod computer connection crash dell desktop driver email error excel firefox freeze google hard drive hardware hijackthis install internet laptop linux malware network no sound outlook problem recovery router screen server slow sound speakers spyware startup trojan usb video virus vista webcam windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Dreamweaver forms dispay incorrectly on IE6

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
lafours's Avatar
Junior Member with 3 posts.
 
Join Date: Mar 2006
29-Mar-2006, 10:36 AM #1
Dreamweaver forms dispay incorrectly on IE6
Hi Guys

I've been trying to solve ths for a few days now and have no idea why it's happening so I hope you can help and save my sanity....

I've made a form in DW8. It's 11 lines long and when I preview in Firefox it looks as I intened. When I preview in IE6, each line is much more spaced out vertically than I desire.

Any ideas?

Thanks,
Leanne
Rockn's Avatar
Computer Specs
Distinguished Member with 17,880 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
29-Mar-2006, 03:11 PM #2
You should probably make a style sheet to display the form correctly across different browser types.
haswalt's Avatar
Computer Specs
Senior Member with 414 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
30-Mar-2006, 02:40 AM #3
could you post the code?

note that some things display properly in firefox and not in ie so certain bits of code appear different depending on what browser you are using.

Harry
lafours's Avatar
Junior Member with 3 posts.
 
Join Date: Mar 2006
30-Mar-2006, 06:31 AM #4
Thanks for this. Here's the code for the table, in the meantime I'll look into css styles.

<table width="470" height="330" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#808000">
<tr>
<td width="230" height="30" align="left" valign="top"><span class="style2">Buyer Name:</span></td>
<td width="230" height="30" align="center" valign="middle"><form id="form1" name="form1" method="post" action="">
<label>
<input name="buyer_name" type="text" id="buyer_name" maxlength="50" />
</label>
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Shop Name: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form2" name="form2" method="post" action="">
<input name="shop_name" type="text" id="shop_name" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top"><span class="style2">Telephone Number</span>: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form3" name="form3" method="post" action="">
<input name="textfield3" type="text" maxlength="25" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Email Address: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form4" name="form4" method="post" action="">
<input name="textfield4" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Address 1: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form5" name="form5" method="post" action="">
<input name="textfield5" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Address 2: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form6" name="form6" method="post" action="">
<input name="textfield6" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Town/City:</td>
<td width="230" height="30" align="center" valign="middle"><form id="form7" name="form7" method="post" action="">
<input name="textfield7" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">County/State/Province</td>
<td width="230" height="30" align="center" valign="middle"><form id="form8" name="form8" method="post" action="">
<input name="textfield8" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Postcode/Zip code: </td>
<td width="230" height="30" align="center" valign="middle"><form id="form9" name="form9" method="post" action="">
<input name="textfield9" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top" class="style2">Country:</td>
<td width="230" height="30" align="center" valign="middle"><form id="form10" name="form10" method="post" action="">
<input name="textfield10" type="text" maxlength="50" />
</form> </td>
</tr>
<tr>
<td width="230" height="30" align="left" valign="top">&nbsp;</td>
<td width="230" height="30" align="center" valign="middle"><form id="form11" name="form11" method="post" action="">
<input type="submit" name="Submit" value="Submit" />
<input type="reset" name="Submit2" value="Reset" />
</form> </td>
</tr>





</table>
treydx's Avatar
Senior Member with 112 posts.
 
Join Date: Jan 2006
Experience: Intermediate
30-Mar-2006, 03:47 PM #5
You need to put all of your input fields in ONE FORM. That's important so that you get all of your data submitted to the next page. It'll probably take care of your styling problem as well. I think forms have a margin-bottom in IE--I'm really just guessing, though.

Anyway, make your code like this:
<form>
<table>
<tr><td>Name</td><td><input type="text" /></td></tr>
<tr>...</tr>
</table>
</form>
lafours's Avatar
Junior Member with 3 posts.
 
Join Date: Mar 2006
31-Mar-2006, 09:41 AM #6
Thanks treydx, worked a treat!
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:18 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.