» Forums
» DynarchMenu forum
» Support
» Need to reduce margin on left of items
Need to reduce margin on left of items
2005/06/02 14:09
Viewed 5741 times
Replies: 1/5

Want to eliminate the small image area at the left of the text of a menu item. I have not found out where this is defined. Really just want the text flush to the left of the menu maybe with a small 1 or 2 pixel margin. The area defined for images is too large.

Thanks

Re: Need to reduce margin on left of items
2005/06/02 14:50
Viewed 8065 times
Replies: 2/4

Just look in src/hmenu.css for occurrences of "width: 18px" (should appear 2 times) and replace them with "width: 0".

Alternatively—a better solution if you don't want to modify the original files—you can put the following lines somewhere in your own CSS file (needs to be loaded after the DynarchMenu skin):

div.dynarch-popup-menu tr.item td.icon img,
div.dynarch-popup-menu tr.item td.icon div {
width: 0;
}
div.dynarch-popup-menu tr.item td.icon {
width: 0;
}

After this, if there are items where you would like to include an icon, you may put the <IMG> tag inside the <A> tag, but note that in this case it's usually impossible to achieve perfectly centered vertical alignment.

last
Re[2]: Need to reduce margin on left of items
2005/06/02 15:40
Viewed 10050 times
Replies: 1/1

Thanks!! That worked perfectly!! I created folder structure under hmenu for customized parts. I just changed a copy there. Perfect!
-Allen

last
Re[2]: Need to reduce margin on left of items
2005/10/12 15:14
Viewed 9342 times
Replies: 1/1

Hello,

I am using the menu with 'skin-xp-extended'.

How I ensure the main menu expands fully to the right? I have a white gap all down the right hand side which I can only get rid of my adding a menu item with a long name.

I hope I have explained myself enough!

Thank you for such a great product - So far it has been well worth the money :-)

Mark Handford
www.cooltxt.com

last
Google