WebSite X5Help Center

 
norman H.
norman H.
User

Table in Mobile View  en

Author: norman H.
Visited 2411, Followers 1, Shared 0  

Starting second String

  1. When using the Table function in desktop/mobile view - Desktop I set out spacings for each catagory, Name, Phone Number, etc and wrapped the text into the box size setting each heading space to fit what was to be contained in the boxes below and this worked well but when going to mobile view the boxes had shrunk to the size of the heading text, I expected they would hold their preset formatting. How can I get both to be the same when I cannot adjust pages to mobile until I preview. The size of the text containers does alter when Text is entered but there doesn't seem to be anyway to wrap the text to the size of the box so a 20 letter name will stretch the box unless I hit return to seperate the name. This is not easy to do with Thai language as words are not seperated as in other languages. - example - John Smith can be wrapped as John over Smith by using return key but where do I seperate จอห์นสมิธ which is John Smith in Thai.

Norman

Posted on the
6 ANSWERS - 1 USEFUL
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... LINK ...?...

[จอ ห์ ]  [น ส มิ ธ] 

(Translated by Google)
... probable! EXTRA code solution ...
... ... devised by me, not for a reactive table, but an elastic one;; ... in the Properties section of the EXPERT section Custom code Before closing the BODY, try to paste this code, which could render the table elastic:
<style> table {word-break: break-all;} </style>
<script> $( document ).ready(function() { $("table").css("width", "");}); </script>

... I do not have the program, but in theory it could work ... (just try it) ...

(IT)
... probabile! Soluzione con codice EXTRA ...
... ... ideato da me, non per una tabella responsive, ma elastica ; ... nella sezione Proprietà | EXPERTO | Codice personalizzato Prima di chiudere il BODY, provare ad incollare questo codice, che potrebbe rendere la tabella elastica:
<style> table {word-break: break-all;} </style>
<script> $( document ).ready(function() { $("table").css("width", "");}); </script>
... Non ho il programma, ma in teoria potrebbe funzionare ... (basta provare) ...

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
norman H.
norman H.
User
Author

Hi KolAsim and JJ,

Thanks for the link and the code which does work on John Smith Thai but only because we know there are 2 names which are seperable in Google Translate it doesn't seem to work on แผนภูมิที่ตราไว้หุ้นวันเพื่อดูเฉินแชท and I cannot use Google translate to find out the persons name as it returns - The par chart the day to see Chen Chat.

I receive registration requests in Thai and copy them directly into the tables, trying to translate every one would be extremely time consuming and pointless as the site is aimed at Thai people not English.

Neither of the above solve the problem of expanding boxes so this is something my client is going to have to accept or cancel the project.

Thanks anyway for your suggestions.

NormanH

Read more
Posted on the from norman H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

I'm sorry,embarassed ...more than I can not; ...maybe other experts (in mother tongue) might be of help.

(IT) - Mi dispiace, ...più di tanto non posso; ...magari altri esperti (in lingua madre) potrebbero essere di aiuto.

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪