Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 18-09-2009
Member
 
Join Date: Jul 2009
Posts: 67
CSS Line Spacing

I'm trying to make a paragraph of text to have 1.5 line spacing on a particular website. I know there was a CSS style that allowed me to set the "Line height" in Dreamweaver. So, can any body tell me that how to do CSS Line Spacing? Does any body knows about it? Kindly provide me the correct way of doing it.
Reply With Quote
  #2  
Old 18-09-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: CSS Line Spacing

Most web applications today use boring methods to present data to their viewers using grids or simple HTML tables. Cascading Stylesheets allows you to control the spacing between words and the spacing between individual characters. The CSS line-height property is similar to leading in desktop publishing, it determines the "line height".
Reply With Quote
  #3  
Old 18-09-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: CSS Line Spacing

You can add additional space between words with the word-spacing property. FusionCharts works with all technologies like ASP, ASP.NET, PHP, ColdFusion, Ruby on Rails, JSP, HTML pages etc. and connects to any database to render animated & interactive charts. The value you specify will be added to whatever default value the browser already uses.
Reply With Quote
  #4  
Old 18-09-2009
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: CSS Line Spacing

Letter-spacing affects the kerning between charactersand is similar to word-spacing. Values are added to the default browser spacing. This results in lines of text appearing closer together or further apart. In most cases, the best choice for line spacing is to leave it at the default - or "normal". This is generally the most readable and doesn't require that you do anything special. But changing the line spacing can give your text a different feel to it.
Reply With Quote
  #5  
Old 18-09-2009
Hot-Text
 
Posts: n/a
Re: CSS Line Spacing

<pre style=line-height:16.5px;>
16
px
</pre>
<pre style=line-height:28.5px;>

28

px

</pre>

<style type="text/css">
<!--
Pre
{
line-height:28px;}
-->
</style>

Last edited by Hot-Text : 18-09-2009 at 09:49 PM. Reason: Img need edit
Reply With Quote
  #6  
Old 21-09-2009
richermartyn
 
Posts: n/a
Re: CSS Line Spacing

Hi...
I have some information on CSS line spacing... So i wanna share that.... Controlling text spacing and text alignment using CSS.Cascading Stylesheets allows you to control the spacing between words and the spacing between individual characters.... Thanks...
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CSS Line Spacing"
Thread Thread Starter Forum Replies Last Post
Double Line Spacing Default in Word 2007 Duncan McC MS Office Support 12 25-02-2012 04:40 AM
Need help to adjust line spacing in a Cell of Excel Garsen's MS Office Support 2 16-02-2012 07:11 PM
inconsistent line spacing in Word 2007 NatashaA MS Office Support 6 03-12-2011 07:59 PM
CSS border length and spacing Visala Software Development 3 27-07-2009 05:08 PM
digital spacing puk284 Software Development 1 09-06-2009 08:12 AM


All times are GMT +5.5. The time now is 07:50 AM.