Menu height issue with text form

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
alabuc
Super Advanced
Super Advanced
Posts: 30
Joined: Mon Dec 22, 2003 12:22 am
Location: NY
Contact:

Menu height issue with text form

Post by alabuc »

Hey, I have a search box In my horizontal menu, as you can see, it makes the menu taller than it should be, i know it is the text form that is doing this because if i take it out it goes back to one line:

http://www.alabu.com/menutest.html

The menu data file is at:

http://www.alabu.com/includes/java/menu_data.js

All I want is for the menu to be one line tall. I see that at

http://www.soem.com

the menu is only one line tall, however it appears that this menu is attatched to a table, which i cannot do because i am using followscroll.

Any help would be appreciated, Thanks
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you look at the page source for that example you gave, it has the following.

Code: Select all

<LINK 
href="belvoir.css" 
rel=stylesheet type=text/css>
Which controls a lot on the page, including the form height. I think this is the relevant part

Code: Select all

INPUT{
	FONT-FAMILY: Verdana, Arial, Tahoma; FONT-SIZE: 10px; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
TEXTAREA {
	FONT-FAMILY: Verdana, Arial, Tahoma; FONT-SIZE: 10px; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
SELECT {
	FONT-FAMILY: Verdana, Arial, Tahoma; FONT-SIZE: 10px; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}

FORM {
	FONT-FAMILY: Verdana, Arial, Tahoma; FONT-SIZE: 10px; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
Good Luck. Merry Christmas :D
alabuc
Super Advanced
Super Advanced
Posts: 30
Joined: Mon Dec 22, 2003 12:22 am
Location: NY
Contact:

Post by alabuc »

THANK YOU THANK YOU THANK YOU THANK YOU :) i never would have thought of that in a million years, your really sharp, thanks man.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

You're welcome. I experimented, using the example page files with your page, until I found out which was making it the right size....

Ruth
Post Reply