WebSite X5Help Center

 
Sabit A.
Sabit A.
User

Text (text box) is not align correctly. Need help.  en

Author: Sabit A.
Visited 112, Followers 1, Shared 0  

I have text box and I am having hard time aligning the text. Example

Article 1     $1.00

Article 2       $2.00

The price is off by a space, but when I delete a space is off and when I add a space it is still off. Unable to have them be in a straight vertical line. 

See attachment the prices are off by half of a space.

Also how can I get Accordion text? 

Thank you for your help. 

Posted on the
3 ANSWERS
Daniel W.
Daniel W.
User
Best User of the month DEBest User of the month EN

For price lists, either use a font with a fixed character width, see screenshot below

-----

Or use the "Price list" object (24 credits)

>> https://market.websitex5.com/de/objekte/331a34da-27df-42ea-8337-118a4c435c3

-----

And for accordion text use the "Accordion Text & FAQ" objekt (20 Credits)

>> https://market.websitex5.com/de/objekte/3cfb4af5-aedd-43b3-ad77-1bb2392e5cd

-----

Or search for "accordion html" at Google for use in a "HTML Code" objekt.

>> https://www.w3schools.com/howto/howto_js_accordion.asp (free)

----- Screenshot -----

Read more
Posted on the from Daniel W.
Esahc ..
Esahc ..
Moderator

Sabit, for perfect alignment I use a table object (rather than text).

You can layout the cells so the prices are left justified and if you wish you can set the row/columns to transparent or coloured as required. You will just need to allocate a column to emulate bullet points

Read more
Posted on the from Esahc ..
Incomedia
Eric C.
Incomedia

Hello Sabit,
I have replied to your e-mail about this, but I can see that Daniel and Esahc have already provided valuable information here.
I remain available.

Read more
Posted on the from Eric C.