Is it possible to have a fixed amount of pixels after the text for all navigation items of the css drop-down menu?
Return to Recent Questions
Q:
I tried to add a fixed width on some of the items that I thought had
too much empty space on the right of the text but would not work. Is it possible to have a fixed amount of pixels after the text for all navigation items of the css drop-down menu?
A:
You can set padding parameter in the following way:
var itemPadding="3px 15px 3px 3px";
top right bottom left
Return to Recent Questions
Related:
- Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
- Oct 26, 2006 - I would like to load an iframe into one of the items in oncontextmenu.
- Oct 31, 2006 - Is it possible to use the AXAJ-Like technology and Javascript-API in css pop up menu?
- Nov 07, 2006 - The menu appears perfectly in the css menu maker preview screen, but not on the page.
- Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Nov 24, 2006 - How do I make the css submenu appear over the adjoining frame?
- Nov 27, 2006 - In Firefox, the drop down menu html is displayed to the right of the top menu text
- Nov 30, 2006 - Does your html menu dropdown have the ability to have small text boxes on it?
- Dec 09, 2006 - Is it possible to have css drop down menu items act like regular hyperlinks?
- Dec 12, 2006 - I want that menu css recognize when user has moused off the menu, and then disappear.
|