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, ...Setting width & height in SolPart MenuSetting width & height in SolPart Menu
Previous
 
Next
New Post
7/17/2006 7:24 AM
 

Hi,

Im trying to make my SolPart Horizontal menu a fixed height and each indivual item a fixed width. However i can't seem to do it through the follow CSS code.

.MainMenu_Idle {
 height:20px;
 width:100px;
 background-image:url('button.gif');
 background-position:left top;
 background-repeat:no-repeat;
 color: #FFFFFF;
 text-align:center;
 font-family:Arial;
 font-weight:normal;
 vertical-align:middle;
 padding-top:5px;
 margin-right:5px;}

I've had a quick look at the javascript which controls the SolPart menu but can't seem to find the property that controls width and height.

Does any one have any ideas?

Thanks

Daniel

 
New Post
7/17/2006 10:01 AM
 
Dear dtsn2

The .css style .MainMenu_Idle is not a standard .css style. It can be used when you upload it or define it in you skin.

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
7/17/2006 10:24 AM
 

Hi,

Thanks for your reply. However i don't quite understand what you mean? my .MainMenu_Idle is defined in my skin as:

rootmenuitemcssclass="MainMenu_Idle"

All of the other parts of the css word like font, colour and even the background images however i still can't seem to set the height or width of the items.

Thanks

Daniel

 
New Post
7/17/2006 11:08 AM
 

Dear dtsn2

Then you've set your own .css for the rootmenuitemcssclass. That you've not mentioned.
You can set the height and the width
For instance
.MainMenuitemcssclass td {
  height: 30px;
  width: 80px;
}
But remember when you use breadcrumbs or arrows... then you've a width of this items too...


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
7/18/2006 9:24 AM
 
Thanks for your help. It worked like a charm after a bit of tweaking.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Setting width & height in SolPart MenuSetting width & height in SolPart Menu


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