Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...More space between menu itemsMore space between menu items
Previous
 
Next
New Post
7/14/2006 1:09 AM
 

How can I make more space betwen each menu item, I have change the skin.css, but still didn't work out.

can anyone help me?

 
New Post
7/14/2006 2:53 AM
 
Dear danshang

Is it the solpartmenu that you are using?
You can ofcourse always set paddings...

Or, use the seperatorclass for instance... or the other possibilities of the different separators.

leftseparatorcssclass No default css class set
leftseparatoractivecssclass No default css class set
leftseparatorbreadcrumbcssclass No default css class set
separatorcssclass No default css class set
rightseparatorcssclass No default css class set
rightseparatoractivecssclass No default css class set
rightseparatorbreadcrumbcssclass No default css class set

But you must also know that there are no default css class are set for this. You must upload it with .xml or directly in your control acsx file of your skin.
Please read the skinning documentation.

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
7/16/2006 9:27 PM
 
Hi Gvborre,
    Thank you for your reply.
 I am using the background image in css. if i add the leftseparator,this part doesn't work with mouse over event. how can I overcome this problem?
 Another question:
  How to set paddings between menu items?
 
New Post
7/17/2006 2:28 AM
 

Dear danzhang

A separator between two menuitems don't need a mouse over event. Because clicking on the separator has no effect for the user.
Of course you can set paddings, for instance:

.MainMenu_MenuItem {
   padding-left: 4px;
   padding-right 4px;
}

But when you want to have more space between menuitems?

Use the separotorcssclass, for instance the class: RtMnItMiSprt (RootMenuItemMiddleSeparator) [you must define it (html + .xml) or within your ascx control]:

.RtMnItMiSprt {
   width: 10px;
   background: transparent url(RtMnItMiSprt.gif) repeat-x 0 0;
}

  Hope this will help.


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
7/17/2006 3:30 AM
 
Hi Gvborre, I have put separator image which is only a vertical line using SeparatorCSScClass that works well. so I have to use padding for more space between menu item, padding-left works well, but padding-right setting doesn't affect the menu at all. do you have any idea? Thanks in advance.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...More space between menu itemsMore space between menu items


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out