WebSite X5Help Center

 
Tom Connelly
Tom Connelly
User

Left aligning text of web page  en

Autore: Tom Connelly
Visite 976, Followers 1, Condiviso 0  

Dear Community,

I have a page on my web site that has a table of text items, which is supposed to display left aligned.

The page is https://hypnos.co.uk/hypnosis-scripts.html all text is centered for some reason.

I have another page, with the same CSS which displays correctly and this page is

https://hypnos.co.uk/hypnosis-mp3-s.html

I've puzzled this for quite some time but with no luck. Can anyone see the mistake I'm making and tell me how to get the text left justified?

Many thanks, Tom

Postato il
4 RISPOSTE - 1 CORRETTO
John S.
John S.
User

You have aligned the text as center

style="text-align: center;

Check the text object and how the text is styled.

Leggi di più
Postato il da John S.
John S.
John S.
User

In the second page where the text is OK it is aligned as left

<div id="imCell_1" class="" data-responsive-sequence-number="2"><div id="imCellStyleGraphics_1"></div><div id="imCellStyleBorders_1"></div><div id="imHTMLObject_43_01" class="imHTMLObject" style="text-align: left; height: 6000px; width: 100%; overflow: auto;"><table width='100%'><tr><td valign="top"><div><a rel="nofollow" href="https://www.hypnosisdownloads.com/10-steps?432!table" class="downloadcatlinks"target="_blank">10-Step Courses</a></div><div><a rel="nofollow" href="https://www.hypnosisdownloads.com/10-steps/stellar-success?432!table" class="downloadlinks"target="_blank">10 Steps to a Stellar Success Mindset</a></div>

style="text-align: left;

Eventually show us the setup (which objects is used) for the page that is centered.

Leggi di più
Postato il da John S.
Tom Connelly
Tom Connelly
User
Autore

Hello John,

Many thanks for your kind assistance. After tyour input I looked ant the 'Margins& Alignment' for the page and sure enough it was set to 'center'. I set it to 'left' and all is now correct.

Thank you, Tom

Leggi di più
Postato il da Tom Connelly
John S.
John S.
User

Please mark either one of my posts that helped you to the solution as "solved" - or mark your own post. and then mark my posts as "helpful".

This is so other users can see that a solution for the problem was found.

Leggi di più
Postato il da John S.