wonderwebware.com - Ideas Player
September 04, 2010, 10:35:01 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Posting in this forum is currently disabled. I am out of home and there is no one to delete the spam. Will turn on the forum when I come back.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Horizontal Menu Height  (Read 462 times)
sospiri
Newbie
*
Posts: 2


View Profile
« on: July 04, 2009, 11:06:03 AM »

A superb bit of software - thank you very much.

I'd like to reduce the overall height so that it looks nice and slim like the menu bar on this site:-

http://www.carouzou.gr/homepage.asp?ITMID=2

(This appears to have been done with the Google Code, but your Generator appears to accomplish what I want with a fraction of the effort!)

I've tried reducing the height:100% in

.mainmenu ul ul a{
   width:100%;
   height:100%;
}

without achieving any noticeable change. I presume that there is a bit more to it than just that!

Regards,

Sospiri
Logged
V
Administrator
Full Member
*****
Posts: 111


View Profile
« Reply #1 on: July 04, 2009, 11:13:29 PM »

First, you should set new padding for the anchors:

.mainmenu a, .mainmenu a:visited {
   display: block;
font-family:Arial, Helvetica, sans-serif;font-size:0.8em;font-weight:bold;font-style:normal;text-decoration:underline;
   color: #FFFF00;
   text-decoration: none;
   padding: 0.5em 0.5em;
}

Then you may want to change the margin of the submenu to to set the proper popup position:

.mainmenu li ul ul {
   margin:-1.2em 0 0 13.5em;
}

The above example should be some starting point (the changes from the original menu are in red). If you want more you may play with "height" attributes of the master ul / li etc. but it all depends on what you need...
Logged
sospiri
Newbie
*
Posts: 2


View Profile
« Reply #2 on: July 06, 2009, 02:18:08 PM »

Many thanks, V - I'll add your suggestions and see if I'm heading in the right direction!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!