WebSite X5Help Center

 
David H.
David H.
User

Formatting text in a text box  en

Autor: David H.
Visitado 2127, Seguidores 2, Compartilhado 0  

As I build the website, text in a textbox appears to be edited easily.

For example, I want to have the font for the text as 10 point, but I want the space lines between paragraphs to be at point size 4.

When I do that, it looks fine in the text box. However, when I preview, or even visit the website on line, all text AND space lines are the same.

It looks as if the whole block is showing with lines at about 1and a half sized instead of single lines.

Version 8 worked OK.  Any answers as to how I can really format the text properly in Version 10!

Thanks David H

Publicado em
3 RESPOSTAS - 1 ÚTIL - 1 CORRIGIR
Anthony A.
Anthony A.
User

All you need is this css code

go to step 2, select your page, then go to properties, click on the expert tab, under the section (Before closing the head tag) paste this code there

<style>
p
{
line-height: 35px;
}
</style>

change the 35 to your desire size.

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck

http://www.wdesigners.us (new)

http://www.usx5.com (coming soon)(Sign up)

Ler mais
Publicado em de Anthony A.
David H.
David H.
User
Autor

Thanks.

I can see what you suggest, but I like to have my text at one size, and the line of spaces between the paragraphs (and only those lines) smaller.   It often helps to keep text to the size of screen if a full page and thus no need to scroll.

As I say - when I look at the text in the text box I can see that it is visually correct but when it goes up to the website the whole of the text is at the same font size.

In Version 8 I could do it correctly - what I see is what I get - but not version 10.

It is a small point, and I guess I can live with it, but obviously something is wrong and I don't like having to simply put up with it

Ler mais
Publicado em de David H.
Anthony A.
Anthony A.
User

version 8 wasn't base on html5, in html 5 browsers act differently and only line-height command can tell all of them (IE, Chrome, Firefox) what is the height between your lines.

set what ever you like as a font size, and fine the right line of heigth for them. that is all you need to do, if you dont do that every browser looks for their own default setting of line-height and they will show you different result.

you can add that to head tag of your template (general> expert tab) so you dont have to copy/paste that in head of every single page.

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck

http://www.wdesigners.us (new)

http://www.usx5.com (coming soon)(Sign up)

Ler mais
Publicado em de Anthony A.