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, ...Putting USER and LOGIN controls on same line as SOLPARTMENUPutting USER and LOGIN controls on same line as SOLPARTMENU
Previous
 
Next
New Post
11/23/2008 6:23 PM
 

Hello. I'm a complete DNN newbie.

As per the subject title, I want to put the USER and LOGIN controls on the same horizontal line as the SOLPARTMENU. Ideally, SOLPARTMENU would be aligned left, with the other two aligned (css "floated?") right.

Looking at the generated html in the broswer, It appears to me that DNN is creating a table into which it is inserting the SOLPartmanu. The USER and LOGIN controls are being inserted in the following row (<tr>). Can someone please tell me, is there a way to have them included on the same line? If they can't be added to the table, how should I go about dealing with this?

code extract from my aspx file:

    <dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" separatecss="true" display="horizontal" useskinpatharrowimages="false"  />
    <dnn:USER runat="server" id="dnnUSER" Text="Join The Site... " />
    <dnn:LOGIN runat="server" id="dnnLOGIN" />

Thanks very much in advance :-)

 

 

Damien

 

 
New Post
11/24/2008 3:26 AM
 

The trick is to give the solpart container a fixed width otherwise it will become 100% width and pushes your other items to the next line.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
11/24/2008 8:08 PM
 

Thanks Peter, that's encouraging! I was starting to give up.

I've had a go to resize it but, unfortunately, didn't find the answer simply.

I then googled around and found this which was helpful in that it showed me the code for the menu (which I couldn't find yesterday) however unhelpful in that it suggests that I have to play around in the JS or underlying HTML which will affect all portals.

Before I look into it in any more detail, can I ask you what your preferred method is to achievet this?

 

Thanks in advance,

 

 

Damien

 
New Post
11/25/2008 3:41 AM
 

 

Damien

I use a wrapper class: <div class="menuwrapper"></div>

.menuwrapper { float:left; width:680px; }
 
Next to this div I use: <div class="userpane"></div>
 
.userpane { float:right; width:300px; }
 
Of course the number of items cannot be too big.
 

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
11/25/2008 7:45 PM
 

 Thanks Peter, 

 

That's been a big help.

 

 

Damien

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Putting USER and LOGIN controls on same line as SOLPARTMENUPutting USER and LOGIN controls on same line as SOLPARTMENU


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