WebSite X5Help Center

 
Tom Connelly
Tom Connelly
User

Left aligning text of web page  en

Autor: Tom Connelly
Besucht 978, Followers 1, Geteilt 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

Gepostet am
4 ANTWORTEN - 1 KORREKT
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.

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von John S.
Tom Connelly
Tom Connelly
User
Autor

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

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von John S.