#1   Report Post  
Posted to microsoft.public.word.pagelayout
[email protected] grenadier181@googlemail.com is offline
external usenet poster
 
Posts: 1
Default line spacing

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-valueclient-address-line2 /br//display-if-has-
value
display-if-has-valueclient-address-line3 /br/ /display-if-has-
value
display-if-has-valueclient-address-line4 /br//display-if-has-
value
display-if-has-valueclient-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-valuesender-addressline1 / br//display-if-has-
value
display-if-has-valuesender-addressline2 /br//display-if-has-
value
display-if-has-valuesender-addressline3 /br//display-if-has-
value
display-if-has-valuesender-addressline4 /br//display-if-has-
value
display-if-has-valuesender-addressline5 /br//display-if-has-
value
display-if-has-valuesender-postcode /br//display-if-has-
valuebr/
Telephone: display-if-has-valuesender-Telephone /br//display-
if-has-value
Fax: display-if-has-valuesender-Fax//display-if-has-value
/p
/span

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Pam Pam is offline
external usenet poster
 
Posts: 91
Default line spacing

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.

" wrote:

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-valueclient-address-line2 /br//display-if-has-
value
display-if-has-valueclient-address-line3 /br/ /display-if-has-
value
display-if-has-valueclient-address-line4 /br//display-if-has-
value
display-if-has-valueclient-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-valuesender-addressline1 / br//display-if-has-
value
display-if-has-valuesender-addressline2 /br//display-if-has-
value
display-if-has-valuesender-addressline3 /br//display-if-has-
value
display-if-has-valuesender-addressline4 /br//display-if-has-
value
display-if-has-valuesender-addressline5 /br//display-if-has-
value
display-if-has-valuesender-postcode /br//display-if-has-
valuebr/
Telephone: display-if-has-valuesender-Telephone /br//display-
if-has-value
Fax: display-if-has-valuesender-Fax//display-if-has-value
/p
/span


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Spacing PL Page Layout 3 January 16th 06 08:18 AM
Why my line spacing is wider than everyone else (line spacing)? Melody Koh Microsoft Word Help 6 September 13th 05 11:12 PM
SIngle line spacing appears as 1.5 line Samuel Page Layout 4 July 4th 05 10:39 AM
Single line spacing appears as 1.5 line Samuel via OfficeKB.com Page Layout 1 June 18th 05 07:29 PM
Line Spacing stevemikkel Microsoft Word Help 1 November 23rd 04 06:09 PM


All times are GMT +1. The time now is 05:01 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"