Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

double-spacing text

Posted on 2007-11-13
2
Medium Priority
?
2,066 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 1000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

783 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