Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:27

Changing padding for individual menu items


Poster: annset
Dated: Friday August 16 2002 - 0:19:38 BST

Hello. We are trying to create a horizontal menu bar that contains several menus, followed by a series of clickable icons. The icons that we are obliged to use are a little bit large for the menu bar that milonic creates, and so tend to get cut off at the bottom, like a setting sun falling into the horizon, or leak out into the page -- depending on which browser we use.

So we would like to display those icons without any padding, but maintain the supplied padding for all of the menu headers.

I know that padding is specified on a per-menu basis, but I'm wondering if there's some sneaky way to get around this for individual menu items.

Thank you.

Ramsey


Poster: Andy
Dated: Friday August 16 2002 - 9:21:39 BST

Hi,

Not at the moment, I'm working on a workaround and am hoping to get somthing done today.

If you could provide us with a demo of just how large your images are, this would help a lot.

Cheers
Andy.

Page example


Poster: annset
Dated: Friday August 16 2002 - 13:04:55 BST

Andy,

Here's a page that demonstrates what I'm talking about:

http://homepage.mac.com/annset/staticmenu1.html

Let me know if you need to see anything else.

Ramsey


Poster: Superflu
Dated: Thursday August 22 2002 - 9:41:44 BST

Actually there is a way, I did it in several menus and it worked fine:

1. Make a transparent gif of 1x1 pixel size.
2. Set the padding to zero in Milonic menu
3. Insert the gif around your images, setting its size (width and height) to the desired proportions.
4. Do the same for all images.

You're set.