HighDots Forums  

Trying to reduce spacing around form element (only doesn't look ok in IE6)...

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Trying to reduce spacing around form element (only doesn't look ok in IE6)... in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
-DRB-
 
Posts: n/a

Default Trying to reduce spacing around form element (only doesn't look ok in IE6)... - 08-25-2003 , 05:02 AM






Hi,

I'm implementing an internal search engine for a site and have a
simple text input box for this on the top of the home page. There are
also some text links below it. However, a big whitespace gap appears
between the bottom of the text box and the links in IE6.

This doesn't happen in either Netscape/Mozilla or Opera.

Am I just limited here by an IE quirk or is there some smart way of
getting round this?

Thanks all,

Dave.

Reply With Quote
  #2  
Old   
Philipp Lenssen
 
Posts: n/a

Default Re: Trying to reduce spacing around form element (only doesn't look ok in IE6)... - 08-25-2003 , 05:09 AM






In article <pfnjkv85nl4unme4porrtf9u7f2e726fm8 (AT) 4ax (DOT) com>, bog (AT) bog (DOT) com
says...
Quote:
Hi,

I'm implementing an internal search engine for a site and have a
simple text input box for this on the top of the home page. There are
also some text links below it. However, a big whitespace gap appears
between the bottom of the text box and the links in IE6.

This doesn't happen in either Netscape/Mozilla or Opera.

Am I just limited here by an IE quirk or is there some smart way of
getting round this?

Form is a block-level element. You can try to use CSS and write:
..form { display: inline; }


Reply With Quote
  #3  
Old   
Philipp Lenssen
 
Posts: n/a

Default Re: Trying to reduce spacing around form element (only doesn't look ok in IE6)... - 08-25-2003 , 05:11 AM



In article <MPG.19b3fee36e3a2c379896b0 (AT) News (DOT) Individual.DE>,
philipp.lenssen (AT) bb-k (DOT) com says...
Quote:
Form is a block-level element. You can try to use CSS and write:
.form { display: inline; }

That should read:
form { display: inline; }

(Unless you use "form" as class-name.)


Reply With Quote
  #4  
Old   
-DRB-
 
Posts: n/a

Default Re: Trying to reduce spacing around form element (only doesn't look ok in IE6)... - 08-25-2003 , 05:11 AM



Oops.... I've now managed to answer my own question.

Anyone reading this and wondering should read:

http://www.cs.tut.fi/~jkorpela/forms/extraspace.html

Dave.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.