Welcome Guest Search | Active Topics | Sign In | Register

Unknown space in Menu Options
Aboozar
Posted: Saturday, June 16, 2007 4:18:38 AM

Rank: Advanced Member
Groups: Member

Joined: 6/13/2007
Posts: 32
There is something like a pading/space between menu items.
For example when you don't have any style the menu item's text should be next to each other but its not.
It makes a problem when you want to put Html in menu text because by default these HTML codes in each item stads a few pixels far from the nex one but they should be sholder to sholder.
If you take a look at the followig url you can have a better undresting of this:

http://www.sorna.net/eo_menu_problem.gif

The only thing you can do (like in the third one) is to use a background color to pretend it doesn't exist.
But how can we remove it ?
eo_support
Posted: Saturday, June 16, 2007 6:30:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
The spacing is usually introduced by this property:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.NavigationItemGroup.ItemSpacing.html

You can check whether you have set that property anywhere, if you don't see it anywhere, please post your menu definition and we will take a look and find out what caused it.

Thanks
Aboozar
Posted: Saturday, June 16, 2007 10:28:37 PM

Rank: Advanced Member
Groups: Member

Joined: 6/13/2007
Posts: 32
It is fixed now by setting Text Padding of each item to 0.
Looks like it is not 0 by default.

Thanks
eo_support
Posted: Sunday, June 17, 2007 4:09:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
That is true. Text padding can also cause gaps between items, the default value is 3 on the left and 15 on the right. Usually it's not a problem if you use the built in styles properties like NormalStyle, HoverSyle, etc. But if you use background images, those values need to be taken into consideration.

Thanks for the update.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.