Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Set alignment on admin container (remove DNNAligncenter class)
Previous Previous
 
Next Next
New Post 12/6/2007 1:56 AM
User is offline Caroig
89 posts
10th Ranked


Set alignment on admin container (remove DNNAligncenter class) 
Modified By Caroig  on 12/6/2007 4:57:39 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 7:48 AM
User is offline Cuong Dang
280 posts
engagesoftware.com
9th Ranked


Re: Set alignment on admin container (remove DNNAligncenter class) 
Modified By Cuong Dang  on 12/6/2007 10:49:29 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
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development.
 
New Post 5/13/2008 11:03 PM
User is offline Bruce Chapman
116 posts
www.iFinity.com.au
9th Ranked


Re: Set alignment on admin container (remove DNNAligncenter class) 

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


Do you need a DotNetNuke Developer? and Free DotNetNuke Downloads
 
New Post 5/14/2008 7:32 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: Set alignment on admin container (remove DNNAligncenter class) 

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

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Set alignment on admin container (remove DNNAligncenter class)
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP