Solved

double-spacing text

Posted on 2007-11-13
2
2,049 Views
Last Modified: 2010-10-05
I'm designing a web page using Dreamweaver CS3. I put some text in a box (using a div tag) and I want the text to be double spaced. I can't find any way to do it in Dreamweaver. I tried to go to "code view" to try to just hand-code it so that it will be double spaced, but I don't know how to do it that way either. Is there any way to make the text double-spaced?
0
Comment
Question by:john8217
2 Comments
 
LVL 3

Accepted Solution

by:
samalraj earned 250 total points
ID: 20277863
Hi John,
             you could simply add style to your paragraph as
<p style="line-height: 2em;">
for detailed explanation please check this link
http://www.gslis.utexas.edu/technology/tutorials/webdev/css/css_7.html

0
 
LVL 17

Expert Comment

by:gops1
ID: 20277990
Use letter spacing. Check this out:

<html>
      <head>
            <title>Script Demo Gops</title>
            <style>
                  p{ letter-spacing: 0.3em }
            </style>
      </head>
<body>
      <p>The letter-spacing property defines an additional amount of space between characters. The value must be in the length format; negative values are permitted. A setting of 0 will prevent justification.</p>
</body>
</html>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now