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, ...Vertical Menu Graphic Background ProbVertical Menu Graphic Background Prob
Previous
 
Next
New Post
3/1/2006 4:57 PM
 

Hello, graphic designer here, still learning css/xml. I have spent a ridiculous amount of time trying to figure out why my vertical menu has, what looks like a break tag, after the last button in the dnn skin I created (using IE). It's repeating my background button image, or at least half of it. I've checked and rechecked the css and html files. Please let me know if you have any ideas!! Thank you.

Here's a link to a screenshot of the design with strange menu graphic problem. See how half of button shows after "admin": http://hudson.macdirect.com/images/dnnScreenshot.gif


/* Main Menu */
 
.MainMenu_MenuContainer {width: 201px; height: 32px; PADDING-LEFT: 28px; background-image: url(images/button1.gif); background-color: #F4F1E2;}
.MainMenu_MenuBar {height: 32px;}
.MainMenu_MenuItem {color: 993333; font-family: Verdana, Tahoma, Arial, Helvetica; font-size: 8pt; font-style: normal; height: 32px;}
.MainMenu_MenuIcon {background-color: #993333; border-left: 0px solid; border-bottom: 0px solid; border-top: 0px solid; padding-left: 3px; padding-right: 3px; text-align: center; width: 4px; height: 32px;}
.MainMenu_SubMenu {z-index: 1000; background-color: #FFFFFF; font-family: Verdana,Tahoma, Arial, Helvetica; font-size: 8pt; font-style: normal;}
.MainMenu_MenuBreak {background-color: white;}
.MainMenu_MenuItemSel {background-color: #E6E0BE; cursor: pointer; cursor: hand; color: Black; font-family: Verdana, Tahoma, Arial, Helvetica; font-size: 8pt; font-style: normal; height: 32px;}
.MainMenu_MenuArrow {font-family: webdings; color: #27415A; font-size: 8pt;}
.MainMenu_RootMenuArrow {font-family: webdings; color: #27415A; font-size: 8pt;}

 
New Post
3/1/2006 5:59 PM
 
Other users have reported that this is an HTML issue, not DNN.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
3/2/2006 10:09 AM
 

Well, I created this design originally in DNN 2, and I did not have this problem. We updated to DNN 4.0.2, and now I have the problem. The html in that table pane did not change with the conversion, so I'm not sure how it's the html. I supplied the table below. I even tested taking everything out of that table column, except the [SOLPARTMENU], and I still had the strange space problem. Thanks for the response though.

<table height="100%" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td width="201" valign="top" bgcolor="#F4F1E2"><center>[LOGO]</center>[SOLPARTMENU]<br>[CONTENTPANE:1]</td>
    <td width="9" background="images/pixelColumnLight.gif"><img src="images/pixelColumnLight.gif" width="9" height="2" border="0"></td>
    <td valign="top" bgcolor="#F4F1E2"><div align="center"><B>..::</B>&nbsp;[BREADCRUMB]<B>::..</B></div><br>[CONTENTPANE]</td>
    <td width="14" background="images/pixelColumn.gif"><img src="images/pixelColumn.gif" width="14" height="4" border="0"></td>
    <td valign="top" bgcolor="#E6E0BE" width="161"><br>[CONTENTPANE:2]</td>
    <td width="5" bgcolor="#E6E0BE"><img src="pixelClear.gif" width="5" height="1" border="0"></td>
</tr>
</table>

Any other ideas?

 
New Post
3/2/2006 10:33 AM
 

I believe your problem stems from how solpart handles its menu rendering.  When the menu renders it allows for the menu to fill 100% of the space (thus looking like a normal windows menu).  It accomplishes this by adding and additional TD after the last root menu item.  It will then take up 100% of the space that the enclosing container surrounding it allows. 

sHTML += ' <tr><td HEIGHT="100%">' + spm_getSpacer(this) + '</td>\n' ;

The getSpacer function checks to see if the browser needs an image to render this tag successfully, if not (as is the case with IE) it inserts a &nbsp;

The size of this on a vertical menu is determined by the font-size specified for the menu bar container.  So you can suppress the height by setting the containers font-size rather small, however unless you decide to modify the spmenu.js file directly (not recommended due to headaches with possible future updates) you cannot completely get rid of it.  If you choose to edit the spmenu.js file you simply need to remove the above mentioned code (line 287 for 1611 of the menu script).


 
New Post
3/2/2006 11:20 AM
 
Thank you Jon. I tried adding the font-size, and you were right, it works, but not completely. I may need to look into the spmenu.js file because I have other designs with decorative button graphics and I want to make them work. Not sure why DNN works like this now with 4.0, it kinda limits your design capabilities doesn't it? Example, a design that I have here current works, using DNN2: http://www.troop24.org, but I want to move to V4 but it sounds like I'll have that 2 pixels of the repeated graphic after the last button. It's small, but noticeable, to me. I'll hope for a better fix it the future, thanks again!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Menu Graphic Background ProbVertical Menu Graphic Background Prob


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