Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Page Layout / May 2007

Tip: Looking for answers? Try searching our database.

line spacing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
grenadier181@googlemail.com - 22 May 2007 18:24 GMT
I have these css styles

p.address1{text-align:right;}
span.format{font-family:Arial; font-size:12pt;}

This bit when converted and viewed in a word document showing the
details, if i click the enter button on any line i geta single line
space.

<span class="format"><br/><br/>
<client-title /> <spacer count="1" /> <client-firstname /><spacer
count="1" /><client-surname /><br />
<display-if-has-value> <client-address-line1 /><br/> </display-if-has-
value>
<display-if-has-value><client-address-line2 /><br/></display-if-has-
value>
<display-if-has-value><client-address-line3 /><br/> </display-if-has-
value>
<display-if-has-value><client-address-line4 /><br/></display-if-has-
value>
<display-if-has-value><client-address-line5 /><br/></display-if-has-
value>
<display-if-has-value> <client-postcode /></display-if-has-value>
</span>

However with this one using the p.address1, when i click enter after
any line it double spaces the line?  Is it because of the paragraph
tags? if so how can i right align without them?

<span class="format">
<p class="address1">

    <display-if-has-value><sender-addressline1 /> <br/></display-if-has-
value>
    <display-if-has-value><sender-addressline2 /><br/></display-if-has-
value>
    <display-if-has-value><sender-addressline3 /><br/></display-if-has-
value>
    <display-if-has-value><sender-addressline4 /><br/></display-if-has-
value>
    <display-if-has-value><sender-addressline5 /><br/></display-if-has-
value>
    <display-if-has-value><sender-postcode /><br/></display-if-has-
value><br/>
    Telephone: <display-if-has-value><sender-Telephone /><br/></display-
if-has-value>
    Fax: <display-if-has-value><sender-Fax/></display-if-has-value>
</p>
</span>
Pam - 25 May 2007 19:33 GMT
Try creating: br.address1{text-align:right;} and then in the body do:
<br class="address1">

You're right: a paragraph tag is a double space. A br tag will give a single
space.

> I have these css styles
>
[quoted text clipped - 45 lines]
> </p>
> </span>

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.