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

infuriating problem with form not fitting to 1 line!

P: n/a
R
hi all
can someone explain why when i put a form in a layer, i cannot make that
layer one line high - it insists on being two lines minimum. say i have a
thin line 19pixels high, it just keeps jumping to 27pixels high in the
following code and i cant change it...
any ideas?
thanks
R
<div id="menubar" style="position:absolute; width:574px; height:19px;
z-index:50; left: 176px; top: 95px; layer-background-color: #ffffff; border:
0px none #000000; background-color: #000000; visibility: visible;">
<form name="menu" method="post" action="">
<a href="../uk/" class="menubartext">link here</a> <a href="../uk/2/"
class="menubartext">another</a> <a href="../uk/3/" class="menubartext">and
again</a> <a href="../4/" class="menubartext">one more</a>
<input name="textfield" type="text" class="searchstyle"
value="search">
</form>
</div>
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
R wrote:
hi all
can someone explain why when i put a form in a layer, i cannot make that
layer one line high - it insists on being two lines minimum. say i have a
thin line 19pixels high, it just keeps jumping to 27pixels high in the
following code and i cant change it...
any ideas?
thanks


Change your form line to this:
<form name="menu" method="post" action="" style="display:inline;">

Your CSS would be better external.

Don't cross post.

Dave
--
Little Dave
http://www.daveholloway.co.uk
Everyone feel free to add me to your instant messengers:
MSN: da**********@spamcop.net, YAHOO: da**********@yahoo.com, ICQ: 104452444
Jul 20 '05 #2

P: n/a
R
marvellous. worked thank you
how do i make the css external?

"Little Dave" <da**@seess.co.uk> wrote in message
news:2g************@uni-berlin.de...
R wrote:
hi all
can someone explain why when i put a form in a layer, i cannot make that
layer one line high - it insists on being two lines minimum. say i have a thin line 19pixels high, it just keeps jumping to 27pixels high in the
following code and i cant change it...
any ideas?
thanks


Change your form line to this:
<form name="menu" method="post" action="" style="display:inline;">

Your CSS would be better external.

Don't cross post.

Dave
--
Little Dave
http://www.daveholloway.co.uk
Everyone feel free to add me to your instant messengers:
MSN: da**********@spamcop.net, YAHOO: da**********@yahoo.com, ICQ:

104452444
Jul 20 '05 #3

P: n/a
R wrote:
marvellous. worked thank you
how do i make the css external?


http://www.ibdjohn.com/

--
Little Dave
http://www.daveholloway.co.uk
Everyone feel free to add me to your instant messengers:
MSN: da**********@spamcop.net, YAHOO: da**********@yahoo.com, ICQ: 104452444
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.