Changing padding for individual menu items

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
annset
Beginner
Beginner
Posts: 5
Joined: Fri Aug 16, 2002 12:11 am

Changing padding for individual menu items

Post by annset »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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.
annset
Beginner
Beginner
Posts: 5
Joined: Fri Aug 16, 2002 12:11 am

Page example

Post by annset »

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
Superflu
Beginner
Beginner
Posts: 3
Joined: Thu Jul 25, 2002 4:53 pm

Post by Superflu »

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.
Post Reply