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  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Aligning the Registration Form?
Previous Previous
 
Next Next
New Post 5/10/2008 1:36 PM
User is offline ajsansone
152 posts
www.graphicsphere.net/
9th Ranked


Aligning the Registration form? 

How do you align the registration form so it is centered?

Take a look at my registration form at http://www.graphicsphere.net/AccountManager/tabid/65/Default.aspx?returnurl=%2fUserLogin%2ftabid%2f64%2fDefault.aspx

It is off by about a quarter of an inch to the left and I have tried everything possible to center it!

Any suggestions on where the registration form is located and what I should do to center it?

 
New Post 5/10/2008 4:07 PM
User is offline Salaro Golestanian
860 posts
7th Ranked




Re: Aligning the Registration form? 

The Registration is part of the core and you could change the ascx associated with this in the core. But I don’t think changing core would be wise as with each upgrade it may break it again. You could create a no padding no title container that actually has a 1/2 inch padding to the left. You could also report it in the DNN bug tracker as a bug. I think the table could be improved inside the core to eliminate the empty space on the right of the arrows.

Salar


SalarO
 
New Post 5/11/2008 3:57 PM
User is offline Rhys
51 posts
10th Ranked


Re: Aligning the Registration form? 

On my widescreen monitor with a maximised browser it looks centered . Not good enough? OK then, as Salaro says the only way to really play about with the layout would be to edit the ascx and move things around, the downside being any core updates will overwrite your changes.

I've looked at the page source and I can't see a simple way of hooking in some CSS so how about a really tiny edit to the ~/admin/manageusers.ascx to place a CSS hook. Find <asp:panel id="pnlUser" runat="server"> and add in  CssClass="movepnluser". Create a CSS class .movepnluser in a suitable stylesheet with position:relative; margin-left:XXX; where XXX may have to be positive or negative, pixels or percentage, and can be determined through trial and error. If you do a core upgrade you'll need to go back to this file and make the edit again, but at least it's a small and safe edit.

I've pretty much written this off the top of my head, so if some of the detail is a little off please excuse me, if it's all completely wrong please ignore me .

Rhys


www.rmjcs.com - Mostly SQL Server Stuff
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Aligning the Registration Form?
 


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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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