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, ...Set alignment on admin container (remove DNNAligncenter class)Set alignment on admin container (remove DNNAligncenter class)
Previous
 
Next
New Post
12/6/2007 4:56 AM
 

Is there a way I can set the container alignement for admin containers?

I have a default admin container set for a portal. Although a module may have it's alignment set to left, the admin container always seems to align centre - which just looks a mess on most admin screens.

My content pane class in the container is:

(div id="contentpane" runat="server" class="bd")

In the page source the DNNAligncenter class is added

(div id="dnn_ctr1103_contentpane" class="bd DNNAligncenter")

I don't see any settings to override the addition of this class or to set it to the left align class.

Is there a way of doing this without adding a DNNAligncenter class with an align left to my container or skin?

I'm running 4.7.0

 
New Post
12/6/2007 10:48 AM
 

I am having the exact problem everytime I work on projects for our clients.
Maybe somebody have a better explaination why DotNetNuke needs to add a class called "DNNAligncenter" everytime where we have a pane (in setting pages)?

The fix for it without overriding to the DNNAligncenter class is to set your table or table cell to left-align.

What I usually do is go to your main container that wraps around the site, specify left-align for the table or table cell, it should solve the problem.
Unless somebody has a better fix, please share.

i.e.   #mainConatiner td {text-align: left;}

Hope this helps!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
5/14/2008 1:03 AM
 

I am using a CSS entry in my skin.css of:

.Settings

td

{

 

}

text-align:left;

This seems to take care of left-aligning the majority of Admin screens.

-Bruce

 
New Post
5/14/2008 9:32 AM
 

lol I will pretend to be Timo, If I remember correctly you can set #body to text-align left and it will resolve it for all your problems where DNNalign comes into play.

Note there is a body and a #body they are very different in what they control.

Did I get it right Timo? lol

 

 
New Post
8/12/2009 9:56 AM
 

The injecting of DNNAlign center is an annoyance for me also. It seems like there has been no change request made in Gemini however. I added one today:

DNNP-10566 Bug Minor Skinning

Stop adding "DNNAligncenter" class when Admin skin loaded 

If you have comments to make, please make them in the Gemini ticket.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Set alignment on admin container (remove DNNAligncenter class)Set alignment on admin container (remove DNNAligncenter class)


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