OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Line Spacing problem

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Hp003
Newbie
Newbie


Joined: 28 Nov 2004
Posts: 2

PostPosted: Sun Nov 28, 2004 2:56 am    Post subject: Line Spacing problem Reply with quote

I've created a web page using open office 1.0.3 and the spacing looks fine in open office but when I upload it there appears to be line spaces where there shouldn't be.
The page in question can be found at http://www.a12c4magic.co.uk/Articles.htm if anyone can help suggest where I'm going wrong please feel free to e-mail me.

Many thanks Sue
_________________
Eliminate the obvious and what ever is left no matter how obscure must be the answer
Back to top
View user's profile Send private message
dpeach
OOo Advocate
OOo Advocate


Joined: 06 Oct 2003
Posts: 397
Location: Mérida, Yucatán, México

PostPosted: Sun Nov 28, 2004 6:57 am    Post subject: Reply with quote

I don't know how to fix the page using OOo, but I do know how to fix the problem by editing the HTML directly (which I am pretty sure you don't want to do, otherwise you would not be using OOo to build the page Very Happy ).

But, here is why it is doing that. You have the <P> tag in places you want a <BR>.

Here is a random example:
Code:
<P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium">
<FONT FACE="Arial, sans-serif"><FONT SIZE=2>3 Kami of Ancient Law</FONT></FONT></P>

That P at the begining is a "carriage return" (kinda), which in HTML causes a double space. What you want is a BR, which will cause a line break. Then you would want to replace the /P with /BR.

I guess the way to do this in OOo would be to do a shift-enter at the end of your lines. I am not certain on this, but it is worth a shot.

dpeach
Back to top
View user's profile Send private message
Hp003
Newbie
Newbie


Joined: 28 Nov 2004
Posts: 2

PostPosted: Sun Nov 28, 2004 7:11 am    Post subject: Reply with quote

dpeach Thanks for the help your tip on holding down the shift whilst pressing enter seems to have done the trick, I'll now go and sort the rest of that page out.

Thanks again Sue aka Hp
_________________
Eliminate the obvious and what ever is left no matter how obscure must be the answer
Back to top
View user's profile Send private message
dpeach
OOo Advocate
OOo Advocate


Joined: 06 Oct 2003
Posts: 397
Location: Mérida, Yucatán, México

PostPosted: Sun Nov 28, 2004 7:39 am    Post subject: Reply with quote

Whew! That was a good guess. You're welcome.

dpeach
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> General Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group