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, ...Active link problem in main menuActive link problem in main menu
Previous
 
Next
New Post
10/11/2006 6:12 PM
 
When I click on one of my links, the text shifts down one pixel and the border to the right shirnks in height. I can't even imagine why this is so or find a way to target a:active for this menu. Please help. Here's and image of the problem:




Here's my css for the menu: div#nav { position : absolute; right: 0; top: 42px; width : 514px; font: bold 11px tahoma, verdana, sans-serif; color: #5a5a5a; border-top: 4px solid #5a5a5a; border-right: 1px solid #5a5a5a; background-color: #FFFFFF; } .MainMenu_MenuContainer { background-color: transparent; width: 100%; } /*-- bar that holds the menu? --*/ .MainMenu_MenuBar { cursor: pointer; cursor: hand; background: #fff; width: 100%; } /*-- submenu container --*/ .MainMenu_SubMenu { font: bold 10px verdana, tahoma, sans-serif; z-index: 1000; cursor: pointer; cursor: hand; background: #fff; padding: 1px; border: 1px solid #5a5a5a; border-top: none; filter: none; margin-top: 2px; } /*-- applies to items in submenus only --*/ .MainMenu_MenuItem { font: bold 10px verdana, tahoma, sans-serif; color: #5a5a5a; background: #fff; padding: 2px 8px 2px 2px; } /*-- hover state in submenus only --*/ .MainMenu_MenuItemSel { font: bold 10px verdana, tahoma, sans-serif; cursor: pointer; cursor: hand; color: #be0033; background: #ffffff; padding: 2px 8px 2px 2px; } /*-- idle state for root menu items --*/ .MainMenu_Idle { cursor: pointer; cursor: hand; color: #5a5a5a; font-family: Tahoma, Arial, Helvetica; font-size: 8pt; font-weight: bold; font-style: normal; display: block; padding: 5 0 5 0; text-align: center; margin-left: 10px; } /*-- hover state for root menu items --*/ .MainMenu_Selected { cursor: pointer; cursor: hand; color: #be0033; font-family: Tahoma, Arial, Helvetica; font-size: 8pt; font-weight: bold; font-style: normal; display: block; padding: 5 0 5 0; text-align: center; margin-left: 10px; } .MainMenu_Active td, .MainMenu_Selected td, .MainMenu_Idle td { border-right: 2px solid #5a5a5a; padding-right: 20px; } #tddnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU59 td { border-right: 0px; padding-right: 0px; } .MainMenu_RootMenuArrow { display: none; height: 20px; } /*-- stuff we don't need to see --*/ .MainMenu_MenuArrow, .MainMenu_MenuBreak, .MainMenu_MenuIcon { display: none; } /*-- hides home button --*/ #tddnn_dnnSOLPARTMENU_ctldnnSOLPARTMENU36 { display: none; }
 
New Post
10/12/2006 10:06 PM
 

That's a stylish menu!

I see text sizes in two measurement systems, px and pt.
I also see a note: /*-- applies to items in submenus only --*/ .MainMenu_MenuItem  -  The MainMenu_MenuItem class actually applies to both the main menu items and the submenu items.
To style the submenu items differently from the main menu items, you can use  .MainMenu_SubMenu .MainMenu_MenuItem {

Hope this helps

 
New Post
10/13/2006 10:19 AM
 
Thanks for your help. I changed it to only use pixels but that didn't work. Apparently, this problem happens only if I use 11px Tahoma or Verdana. 10px and 12px work fine, so does 11px any other font!

Between this and the broken search out of the box, I"m feeling defeated by DNN.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Active link problem in main menuActive link problem in main 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