Solved

double-spacing text

Posted on 2007-11-13
2
2,056 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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 …

685 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