Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

layout & code not working right after IE6 upgrade

Status
Not open for further replies.

MikeL91

Programmer
Feb 8, 2001
100
US
I have a page i setup with interdev, with a recordset and a grid, where data can be edited, looked-up etc. after a user upgraded to IE6.0 all the buttons got mis-allined, and the code is not working properly, has anyone else experianced this, or know what might be causing it?

this is how it's looking:
 
Use of more tables is probably what you need to do. And I would change your form format to something like..

<table width=&quot;43%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; height=&quot;17&quot;>
<tr>
<td width=&quot;23%&quot;>
<p align=&quot;right&quot;>Name:</p>
</td>
<td width=&quot;77%&quot;>
<input type=&quot;text&quot; name=&quot;textfield&quot;>
</td>
</tr>
<tr>
<td width=&quot;23%&quot;>
<div align=&quot;right&quot;>Email:</div>
</td>
<td width=&quot;77%&quot;>
<input type=&quot;text&quot; name=&quot;textfield2&quot;>
</td>
</tr>
</table>


But I have found, the best way to validate a form is to do a layout like this..


<html>
<%
If Request.QueryString = &quot;verify&quot; then

If Len(Request.Form(&quot;name&quot;)) < 3 then
errName = True
End if

If Len(Request.Form(&quot;email&quot;)) < 2 then
errName = True
'check if its an email as well etc..
End if

End if

%>
<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;>
<form name=&quot;form1&quot; method=&quot;post&quot; action=&quot;this_page.asp?verify&quot;>
<table width=&quot;43%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; height=&quot;17&quot;>
<% If errName= True then%>
<tr>
<td width=&quot;23%&quot;><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;></font></td>
<td width=&quot;77%&quot;><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;>No
Name provided.</font></td>
</tr>
<% End if %>
<tr>
<td width=&quot;23%&quot;>
<p align=&quot;right&quot;><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#000000&quot;>Name</font><b><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#000000&quot;>:</font></b></p>
</td>
<td width=&quot;77%&quot;> <font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;>
<input type=&quot;text&quot; name=&quot;name&quot;>
</font></td>
</tr>
<% If errEmail = True then%>
<tr>
<td width=&quot;23%&quot;><b><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#000000&quot;></font></b></td>
<td width=&quot;77%&quot;><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;>No
Email Provided.</font></td>
</tr>
<%End if%>
<tr>
<td width=&quot;23%&quot;>
<div align=&quot;right&quot;><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#000000&quot;>Email</font><b><font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#000000&quot;>:</font></b></div>
</td>
<td width=&quot;77%&quot;> <font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;>
<input type=&quot;text&quot; name=&quot;email&quot;>
</font></td>
</tr>
</table>
</form>
</body>
</html>

www.vzio.com
star.gif
if I helped. [wink]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top