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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  How to control spacing between two paragraphs
Previous Previous
 
Next Next
New Post 7/10/2008 11:38 AM
Resolved
User is offline tfs
15 posts
10th Ranked


How to control spacing between two paragraphs 

Dear all,

Is there anyway to control the spacing between 2 paragraphs? That mean the space that created when I press [Enter]  in the text editor. 

I found that the paragraph spacing too much. I look at the source the 2 paragraphs are simply separated by </P> and <P>. Seems like there is no setting in default.css to modify. Anyone can help me on this?

 

thank you in advance.

cheers,

Eric

 
New Post 7/10/2008 11:54 AM
User is offline CSmith
368 posts
www.netdatadesign.com
8th Ranked


Re: How to control spacing between two paragraphs 

Use 'shift'+'enter' to avoid double spacing.

 

HTH


 
New Post 7/10/2008 12:42 PM
User is offline tfs
15 posts
10th Ranked


Re: How to control spacing between two paragraphs 

Thank you for your reply. Shift+Enter insert <br> which means there is no space at all between 2 paragraph.

My situation is that spacing between 2 paragraphs is required, but not that much. if I can set or control the spacing height then it will be most ideal.

cheers

 
New Post 7/10/2008 4:40 PM
Accepted Answer 
User is offline ROBAX
1731 posts
5th Ranked


Re: How to control spacing between two paragraphs 

You need to specify the paragraph margins in your skin's style sheet.

p{margin-top:3px;margin-bottom:6px}

or whatever amounts you prefer. This also makes it much more consistent across browsers.

I've recently begunusing p{margin:0 0 9px 0} as I'm finding that adding my style gaps from the top down is more predictable overall.

Rob

 
New Post 7/11/2008 7:42 AM
User is offline tfs
15 posts
10th Ranked


Re: How to control spacing between two paragraphs 

I put that in default.css and it works. Thanks a lot.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  How to control spacing between two paragraphs
 


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.

 


DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com

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