WebSite X5Help Center

 
Thomas Murray
Thomas Murray
User

Text alignment i HTML  en

Author: Thomas Murray
Visited 872, Followers 3, Shared 0  
Tags: more,some,text

"text-align: left" does not work in "HTML and Widgets" as it should according to the HTML references. 

I have tried to make an ordered lists of links to a library of documents.

The example below should be left-aligned and look like:

Some text a1a2 more text a3 etc

I have also tested a few other ways according to the HTML referece to get the left-alignment work, for example as a style property in the General Settings/Expert page of the websiteX5. Whatever I try, the text ends up centered.

(The links work properly)

Posted on the
1 ANSWERS - 1 USEFUL
Incomedia
Claudio D.
Incomedia

Hello Thomas,

Can you please tell me what code you exactly add in the HTML&Widget Object?

If you add the following code it's working:

In HTML Code section:

<p>your Text</p>

in Expert - Css Code:

p{text-align: left}

Many thanks!

Read more
Posted on the from Claudio D.