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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  How do I center the header text of a container?
Previous Previous
 
Next Next
New Post 4/1/2008 3:12 PM
Unresolved
User is offline SiliconSlick
3 posts
10th Ranked


How do I center the header text of a container? 

Hello all,

    I am new to dnn 4.0 and I had a quick question about how to justify the "header text" that is embeded at the top of a content container so that it is centered and / or how to load an image that had embeded text in it (i.e. photoshop .jpg) into the text header container top table.

Here is an example, the following text is justified left:

LEFT TEXT HEADER

The following text is justified centered:

CENTERED TEXT HEADER

I would like to be able to achieve this fuctionality for the bold header TEXT at the top of a content container.  I hope this explains my issue as clearly as possible.  Any help is much apreciated! Thank you! -=SiliconSlick=-

 
New Post 4/1/2008 6:39 PM
User is offline cathal connolly
2757 posts
www.cathal.co.uk
5th Ranked










Re: How do I center the header text of a container? 

 

Please take a look at the skinning document @ http://www.dotnetnuke.com/Resources/Documentation/DownloadableFiles/tabid/478/Default.aspx , it should get you started.

Alternatively just examine one of the existing skin containers e.g if you look at

\Website\Portals\_default\Containers\DNN-Blue\Image Header - Color Background.ascx

you'll see 2 table rows that look like

     <TD valign="middle" nowrap><dnn:ICON runat="server" id="dnnICON" /></TD>
                <TD valign="middle" width="100%" nowrap>&nbsp;<dnn:TITLE runat="server" id="dnnTITLE" /></TD>

These are the icon's and title, so you would simply update them as you would normal html i.e.

     <TD valign="middle" nowrap><dnn:ICON runat="server" id="dnnICON" /></TD>
                <TD valign="middle" width="100%" nowrap align="center">&nbsp;<dnn:TITLE runat="server" id="dnnTITLE" /></TD>

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  How do I center the header text of a container?
 


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.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

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