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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


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
24 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
Online now... CSmith
382 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
24 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 
Online now... ROBAX
1849 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
24 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.

 


DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com
DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk

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