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, ...nav separatorsnav separators
Previous
 
Next
New Post
6/22/2009 8:04 PM
 

 Hi,

I cant figure out how to use separators properly. I'm trying to make a horizontal navigation with "tabs"

so i've set the SeparatorLeftHTML and SeparatorRightHTML and the separators are showing up, but they are showing up too close to the text. the background i've set for each root node is bigger than the separator

so for example

::: = background

[ = left separator

] = right separator

 

my menu looks like this

::::[ HOME ]:::  :::[ ADMIN ]:::   :::[ HOST ]:::

 

any ideas what I'm doing wrong?

also my node text is aligned at the bottom, how do i get them vertically aligned in the middle?

 

TIA!!

 
New Post
6/24/2009 12:12 PM
 

i guess my question was too specific?

does anyone have any examples on how tabs are done then? that would help a lot as well. 

thanks!

 
New Post
6/24/2009 5:22 PM
 

No, your question is not too specific, but maybe not specific enough.

You are using DNN Nav and not Solpart, right? 

I've had problems with DNN Nav getting it to behave in regards to vertical alignment of the text, too, but never had an "aha! that's it" solution other than adjusting the top padding or top margin on the text to mimic the alignment I needed.  Setting a height and vertical-align in the css never got any result in vertical-align to actually align properly even with padding and margins set to zero, but may have had more to do with other css settings.  I've had issues before with horizontal alignment of a single separator (no left or right, just plain separator) and had to actually go with display:block and float:left in the classes for the root node and separator both, just to get them both align vertically the same.  It's tricky and touchy to say the least, and with the css there are probably many different approaches you can take.

As far as the menu text not having enough space between it and the separators, you should be able to accomplish this by adding left and right padding to the root node css class. 

I've not done a tab type root menu myself, so I've no examples in my personal arsenal, but it sounds like you are off to a good start, hope this helps at least a little. 


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...nav separatorsnav separators


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