[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - List based DHTML menu
Advertisement

List based DHTML menu

Moderators: Calcifer, slothy

List based DHTML menu

Postby feri » Wed Oct 25, 2006 3:32 pm

Hello,

First: Thank you for your tutorial and the lots of code on your webpage.

I changed the font size of the submenu.
But the height of the submenu was unchanged. (result: smaller font=unchanged height of submenu)

I tried to modify the css.
I made a new element, and I added the height property:

#dhtmlgoodies_menu LI{

border:0px;
padding:1px;
border:1px solid #a9a163 ;
background-color: #f2ecca ;
overflow:visible;
font-weight:bold;
font-size:9px;
height:10px;

}

After this the width of submenu was the actual width of IE. The submenu-height was now unchanged.

I like: menuitem with smaller font, and smaller height AND the width of submenu=width of text in the submenu

What do I have to do?
Please, help me!

Thank you too much.

Feru

Hungary
feri
 
Posts: 3
Joined: Wed Oct 25, 2006 3:25 pm

Postby Batalf » Wed Oct 25, 2006 3:47 pm

Hello feri,

Welcome to the forum :D

Do you have a link where I can take a look at your code?

I tried to implement your css and it didn't cause the menu to fail in my IE browser.
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby feri » Wed Oct 25, 2006 7:07 pm

feri
 
Posts: 3
Joined: Wed Oct 25, 2006 3:25 pm

Postby Batalf » Wed Oct 25, 2006 9:11 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby feri » Thu Oct 26, 2006 1:05 pm

feri
 
Posts: 3
Joined: Wed Oct 25, 2006 3:25 pm


Return to Menu script questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron