homepage Welcome to WebmasterWorld Guest from 23.23.8.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
automatic newline in forms
Clinton Labombard

5+ Year Member



 
Msg#: 3166995 posted 12:47 pm on Nov 24, 2006 (gmt 0)

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

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



 
Msg#: 3166995 posted 2:08 pm on Nov 24, 2006 (gmt 0)

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

5+ Year Member



 
Msg#: 3166995 posted 3:04 pm on Nov 24, 2006 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved