| View previous topic :: View next topic |
| Author |
Message |
Hp003 Newbie

Joined: 28 Nov 2004 Posts: 2
|
Posted: Sun Nov 28, 2004 2:56 am Post subject: Line Spacing problem |
|
|
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 |
|
 |
dpeach OOo Advocate


Joined: 06 Oct 2003 Posts: 397 Location: Mérida, Yucatán, México
|
Posted: Sun Nov 28, 2004 6:57 am Post subject: |
|
|
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 ).
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 |
|
 |
Hp003 Newbie

Joined: 28 Nov 2004 Posts: 2
|
Posted: Sun Nov 28, 2004 7:11 am Post subject: |
|
|
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 |
|
 |
dpeach OOo Advocate


Joined: 06 Oct 2003 Posts: 397 Location: Mérida, Yucatán, México
|
Posted: Sun Nov 28, 2004 7:39 am Post subject: |
|
|
Whew! That was a good guess. You're welcome.
dpeach |
|
| Back to top |
|
 |
|