By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,930 Members | 1,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,930 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <pf********************************@4ax.com>, bo*@bog.com
says...
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; }
Jul 20 '05 #2

P: n/a
In article <MP************************@News.Individual.DE>,
ph*************@bb-k.com says...

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.)
Jul 20 '05 #3

P: n/a
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.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.