Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

dreamweaver course uk - line spacing

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver course uk - Line spacing

dreamweaver course uk - Line spacing

ResolvedVersion Standard

Sara has attended:
Dreamweaver 8 Introduction course

Line spacing

When I write text in teh editable section of a document and in a table how do I change teh line spacing?

RE: Line spacing

Sara,

Hopefully your editiable region has not begun inside a <p> or <div> type tag. If it has, then you won't be able to change the settings of an editable region easily.

Usually editable regions are not inserted between such tags (you can check your code to be sure, and Dreamweaver also warns you if you do).

As for line spacing, there is a CSS style for this, and so you will need to know a bit about CSS.

http://www.w3schools.com/css/pr_dim_line-height.asp

The parameter is line-height. So your code will look like this (can use div instead of p if you like):

<p style="line-height: 1.4">Your text here</p>

The other way is to use CSS classes.
Link a CSS file to your document containing this class definition:
.doublespacingsara {line-height: 2;}

Then in HTML use this:
<p class="doublespacingsare">Your text here</p>

I hope this helps.

If you are unsure, please read up a bit on CSS, and if still unsure reply here and I will assist you further :)

Regards, Rich

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Dreamweaver tip:

Testing a site

When developing a site, you have to cater to the widest possible audience allowing for users with different browsers and display settings.
Test pages to see how they look with:

- different display resolutions
- browser with graphics turned off
- many different browsers not just IE
- if possible different operating systems.

View all Dreamweaver hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.