Just wondering if anyone knows how to get rid of the annoying blank space that <form></form> tags create?
Nov 6, 2001, 10:42 AM
User (154 posts)
Nov 6, 2001, 10:42 AM
Post #3 of 12
Views: 965
The Perl forum is more a webmaster issue forum, with an emphasis on Perl... so I'd say this qualifies.
As to the <form> tag issue... are you talking about the vertical space? If the form is inside a table, I will sometimes place the <form> tags between <tr> and <td> tags. Something like:
<tr><form><td>stuff</td></form></tr>
That seems to get rid of extra spacing.
--
Matt G
As to the <form> tag issue... are you talking about the vertical space? If the form is inside a table, I will sometimes place the <form> tags between <tr> and <td> tags. Something like:
<tr><form><td>stuff</td></form></tr>
That seems to get rid of extra spacing.
--
Matt G
Nov 6, 2001, 10:51 AM
Enthusiast (619 posts)
Nov 6, 2001, 10:51 AM
Post #4 of 12
Views: 964
Indeed, the solution mglaspie suggested is used by many, including me. Although this isn't exactly legit HTML and validator's will flag it as bad code, its works across all browsers and works well.
~ ERASER
Free JavaScripts @ Insight Eye
~ ERASER
Free JavaScripts @ Insight Eye
Nov 6, 2001, 11:12 AM
Veteran (1140 posts)
Nov 6, 2001, 11:12 AM
Post #5 of 12
Views: 955
I've often wondered about that... thanks for sharing the info.
It wasn't until I started working with IE that I noticed that carriage returns (hard returns) will affect your table tags and break tags as well.
<BR>something<BR>something
will often display differently (extra line space) than
<BR>something
<BR>something
ditto for <TD> tags
It wasn't until I started working with IE that I noticed that carriage returns (hard returns) will affect your table tags and break tags as well.
<BR>something<BR>something
will often display differently (extra line space) than
<BR>something
<BR>something
ditto for <TD> tags
Nov 6, 2001, 2:04 PM
Staff (4070 posts)
Nov 6, 2001, 2:04 PM
Post #7 of 12
Views: 941
Only thing with that solution is that Netscape 4.x will do REALLY weird things if you happen to have multiple tables, and you go putting the start and end form tags in between the tr's of the tables
like if you did:
<form>
<tr><td>
</td></tr>
</table>
<table>
<tr><td>
</td></tr>
</form>
</table>That css solution for IE is interesting. I'll have to try that (I wonder if it works for mozilla as well...)
PS: I hate html
Adrian
Code:
<table> <form>
<tr><td>
</td></tr>
</table>
<table>
<tr><td>
</td></tr>
</form>
</table>
PS: I hate html
Adrian
Quote:
Only thing with that solution is that Netscape 4.x will do REALLY weird things if you happen to have multiple tables, and you go putting the start and end form tags in between the tr's of the tables like if you did:Yeah, I definitely would not recommend opening a form tag in one table and closing in another... you're just askin' for trouble.
I'd be interested if that css solution works in Netscape. Let me know if it works out for you.
--
Matt G
Nov 7, 2001, 4:20 AM
Veteran / Moderator (17364 posts)
Nov 7, 2001, 4:20 AM
Post #9 of 12
Views: 902
I have been told that using nested form tags (i.e. outside of the <table> and </table> tags) it work. didnt get to try it, but I know it does work as my mate used it on his site.
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Nov 7, 2001, 4:21 AM
Veteran / Moderator (17364 posts)
Nov 7, 2001, 4:21 AM
Post #10 of 12
Views: 900
Heh heh..I really do need to learn a bit more CSS
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

