URGENT: Text formating problem
Last Post 09/09/2006 6:06 AM by don2. 5 Replies.
Author Messages
don2
Nuker
Nuker
Posts:19


--
09/08/2006 9:16 AM  

Hi Lee,

Somehow, whilst working on my portal, all of a sudden all my text has become right aligned. I wasn't editiing stylesheets.

What can cause this, where do I look?

-Conor

don2
Nuker
Nuker
Posts:19


--
09/08/2006 10:42 AM  
Ok an update, can someone please explain this to me, 'cause this is spooky.

I did a text find in all the inherited css files for "right" or "align" and the only place I see reght aligned text is on the one of the wizzard classes.

1. If I copy the module to another page, delete the original and then copy the module back the text for the module is correct again.
2. Copy the source HTML and paste it to a new HTML module, the text is corrected.

BUT
3. Still the remaining modules the text is right aligned.

So I guess I have to copy and delete all my modules! Ohh boy.

-Conor
lynn
Nuke Master
Nuke Master
Posts:276


--
09/08/2006 11:16 AM  

Hello Conor

You might try downloading Internet Explorer Developer Toolbar from here:

http://www.microsoft.com/downloads/...laylang=en

Once installed, using IE go to your site with the right aligned text. In the toolbar you will see View DOM, when you click that you will see a small screen with  css styles.

 Click on individual class links shown on the left of the screen.  You can then follow each associated class and view every css style that the class is taking, displayed on the left of the screen.

I hope this helps.  I use this a lot when something is not quite how I expected it to look.

Good luck

Lynn

don2
Nuker
Nuker
Posts:19


--
09/08/2006 12:51 PM  
Hi Lynn,

Cheers for that tip, I checked the styles and maybe I need glasses but I can't see anywhere a right align command. This problem only seems to apply to HTML based modules everything else was ok.

My solution was to copy each module to a temporary page, this corrected the alignment, delete the original, then move the new module back to the original place. But this still does not explain what happened and why? If I copied one just one of the problem modules, and just by coping the module the alignment was correded, this states to me that there is something saved with each module that affects the displaying of the module. This also means that the problem was not caused by the the default styling, skin styling, container styling, nor in-line HTML styling. So there must be something specific to the instance of the module.

Anyone?

-Conor
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
09/09/2006 3:10 AM  
Hello,

Try this:

Go into your modules settings / Page Settings

Under Basic Settings there is 'Alignment' make sure this is set to Left

If you set it to right it will align all of the text in your Text/HTML module to the right

You 'align' when you first insert a module to the page - make sure this is always set to left.

Hope this helps, thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
don2
Nuker
Nuker
Posts:19


--
09/09/2006 6:06 AM  
Thank you Lee,
Many late nights trying to get evertthing up and running, twice I set "apply to all modules" by accident and voila, a mess again!
I would of thought that by default the alignment would be set to left as the by default it is a latin based portal!


---