Welcome to WebmasterWorld Guest from 50.19.34.234

Forum Moderators: incrediBILL

Message Too Old, No Replies

automatic newline in forms

     

Clinton Labombard

12:47 pm on Nov 24, 2006 (gmt 0)

5+ Year Member



How do I get rid of the automatic newline produced after IE's implimentation of the form tag? Firefox doesn't have this problem. I've only had this problem with IE and that's even after specifying strict.dtd .

[edited by: Clinton_Labombard at 12:49 pm (utc) on Nov. 24, 2006]

encyclo

2:08 pm on Nov 24, 2006 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The problem happens because the
form
is a block-level element. You can usually fix this by declaring it as inline instead:

<form action="whatever.php" [b]style="display:inline;"[/b]>

(or declare it directly in your stylesheet).

Clinton Labombard

3:04 pm on Nov 24, 2006 (gmt 0)

5+ Year Member



That's got it. I didn't think to RTFM. Thanks!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month