Search…

X3 Photo Gallery Support Forums

Search…
 
frank3427
Topic Author
Posts: 8
Joined: 25 Nov 2007, 11:12

text page not show format

25 Sep 2008, 23:05

I was creating a few text pages using the set folder as html.

I notice that the pages that are being displayed in preview are not holding the text layout, everything is running together.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Sep 2008, 04:55

Not quite sure what you mean, perhaps you have a link?

The content entered into textpages is HTML format. That means for example that it won't show line breaks simply by clicking enter. You need to use <br/> tags for that.

The following entry in the content ...
Code
Hello

World!
... will display in the gallery as ...
Code
Hello World!
... while the following entry ...
Code
Hello<br/>
<br/>
World!
... will display in the gallery as ...
Code
Hello

World!
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

14 Nov 2008, 16:18

I don't know if it's been mentioned before, I couldn't find it anyway.

When you type <br> it indents the next line.
ie:
Code
Hello <br> World
Will show up as
Code
Hello 
 world
It looks like it's adding a nbsp.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

21 Nov 2008, 06:52

No, it's just adding your space after the <br/> at the beginning of the next line.
Code
Hello <br> World 
... will display as ...
Code
Hello
 World 
Code
Hello<br>World 
... will display as ...
Code
Hello
World