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, ...solpartmenusolpartmenu
Previous
 
Next
New Post
8/4/2006 6:27 AM
 

hey folks!once again it's me!

i have a new problem!!!
How can I make the menu items be at same width?

because i want to associate a color to every menu item and these colors are in the cell below the menu, so i want every menu item to be as broad as color fields, below it! i've tried every thing!

 

thanks for ya help!

 

greetz jakob

 
New Post
8/4/2006 8:11 AM
 

Dear prymus

Indeed that is difficult. Because solpart use some hardcode like &nbsp; and <img  src="spacer.gif" /> for arrows, breadcrumb, before and after the name of a menuitem... And they loooks different in IE and in FF.
First set styles for the rootmenu

Settings Own Settings Default settings
menucontainercssclass MainMenu_MenuContainer
rootmenuitemcssclass RtMnItNo No default css class set
rootmenuitemselectedcssclass RtMnItHo No default css class set
rootmenuitemactivecssclass RtMnItAc No default css class set
rootmenuitembreadcrumbcssclass RtMnItBr No default css class set

Second
Set a with for the whole container: for instance: .MainMenu_MenuContainer {width:500px;}
Put this container in another container...
<table>
  <tr>
    <td width="50%">&nbsp;</td>
    <td>[SOLPARTMENU]</td>
    <td width="50%">&nbsp;</td>
   </tr>
</table>


Third
Set for all the rootmenustyles the same width at <td></td> level
That means for instance for the rootmenuitemscssclass: .RtMnItNo td {width: 100px;} 

Fourth
Perhaps you've to remove the arrows and the breadcrumb.

I don't know if this helps. But that's perhaps the way to have a solution. Give me sign if you've found it.


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
8/7/2006 5:53 AM
 

you're great! it worked perfectely! thanks a lot!

 

greetz jakob

 
New Post
8/7/2006 10:14 AM
 
Dear prymus

Can you sent me the code (just the code of the DNN menu) I'm curious? So that I can see what you've done? mailto: gilbertDOTvandenborreATgivaboDOTnet.

Vriendelijke groeten
Gilbert Vanden Borre
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...solpartmenusolpartmenu


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