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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I.E. vs All Other Browsers 1

Status
Not open for further replies.

iaresean

Programmer
Mar 24, 2003
570
ZA
Hi All;

I have just developed a web page, and it works great in all browsers except I.E.

I have a table, and each row contains a form, basically. Everything displays, except in I.E. there is a big gap between each form/row. There is no gap in NN or Mozilla or Galeon etc...

Is there a formspacing/formpadding property that I.E requires in order to change this?

Please let me know, thanks in advance.

Sean.
 
Here is an example of my problem:


Here is a small snippet of code, which is mixed with perl:

<form name=&quot;txt_rec_form$formcount&quot; action=&quot;dns.cgi&quot; method=&quot;post&quot;>
<input type=&quot;text&quot; class='formSetting' name=&quot;host_name&quot; size=&quot;25&quot; value=&quot;$name&quot;>
</TD>
if(!$sttl){
print <<EOHTML;
<TD class='columnDataRow$count'>
<input type=&quot;text&quot; class='formSetting' name=&quot;sttl&quot; size=&quot;5&quot;>
</TD>
EOHTML
}
else{
print <<EOHTML;
<TD class='columnDataRow$count'>
<input type=&quot;text&quot; class='formSetting' name=&quot;sttl&quot; size=&quot;5&quot; value=&quot;$sttl&quot;>
</TD>
EOHTML
}

print <<EOHTML;
<TD class='columnDataRow$count'>IN</TD>
<TD class='columnDataRow$count'>
EOHTML
$mx_value = '';

if($type =~ /^(MX)(\s)([\d]+)$/){
$type = $1;
$mx_value = $3;
}

$temptype = $type;

printRecordTypeList();

print <<EOHTML;
<input type=&quot;text&quot; size=&quot;5&quot; name=&quot;mxvalue&quot; value=&quot;$mx_value&quot;>
</TD><TD class='columnDataRow$count'>
<input type=&quot;text&quot; class='formSetting' name=&quot;location&quot; size=&quot;25&quot; value=&quot;$location&quot;>
</TD><TD class='columnDataRow$count' align=&quot;center&quot;>
<input class='formSetting' type=&quot;submit&quot; name=&quot;submit_update&quot; value=&quot;Update&quot;>
<input class='formSetting' type=&quot;submit&quot; name=&quot;submit_remove&quot; onClick=&quot;return(confirmRemove());&quot; value=&quot;Remove&quot;>
</form>
</TD</TR>


Thanks in advance for any help.

Sean.
 
I think this is a repeat of a discussion last week ;)

<table>
<tr> <form>

<td>...</td>

</tr> </form>
</table>

---

Or you can use <form style=&quot;padding:0px&quot;> but that won't work on older browsers that share the same rendering pattern.

----------
I'm willing to trade custom scripts for... [see profile]
 
this should cover the gamut:

<form style=&quot;padding:0px; margin:0px; display:inline;&quot;>

=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top