You need to Register for free and Login to post a message in the forum.

Forum

Subject: Formatting in Text/HTML modules
Prev Next
You are not authorized to post a reply.

Author Messages
radhakrishan
Nuke Active Member
Nuke Active Member
Posts:27

11 Jan 2006 10:06 AM  

Hi,

Im struggling when it comes to formatting. I have got lots of text/HTML modules on the website. But when u view it, they r never aligned properly. Some times the line gap is ok, some times not.

I also tried first doing in Visual studio .net 2003 and then just copy to DNN, but formatting is never right. It always right when u r making changes in Visual studio.net 2003

Simple thing, but struggling. anything u can suggest. Bcoz on my website I have put loads and loads of contents.

And again thank u for quickly reply and excelled ISSUE 5 and 6.

Regards

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3351

11 Jan 2006 10:24 AM  
This is a good question and it's one of the most important things to get right.

The method I use for adding content into a Text / HTML module is as follows:

Write the content in Word, Spell Check
Copy the content and paste into Notepad (This strips the formatting & gets rid of excess HTML that Word creates)
Copy this plain text into the HTML / Text module.
Format the text in the module.


Re: formatting within the module:
For the font design of your text, I would encourage you not to select the font option from the drop down list, but to use the default fonts that you have set in your skin.css file (Setting the fonts is explained in the how to create a skin tutorial)

To then add a skin.css styled font to your text select the text to format & then select from the drop down box in the Text / HTML module "Styles" (or "Format" if you are using the FCK Editor) you can then select the most appropriate class that you have created.

If you do not select a class, it will use the default .Normal class.

It's important to do this as it minimises the amount of HTML code that is created and therefore keeps your page load times as quick as possible.

If you find things are getting messy in the HTML, it's sometimes best to start with a fresh HTML / Text module and then add the content if you have tried several methods of adding content, eg. Visual Studio etc.

Hope this provides a starting point.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Formatting in Text/HTML modules



ActiveForums 3.7

Latest Forum Posts

Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
AppTheory
RSS Feeds