WebSite X5Help Center

 
norman H.
norman H.
User

Table in Mobile View  en

Autor: norman H.
Visitado 2111, Followers 1, Compartido 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

Publicado en
6 RESPUESTAS - 1 ÚTIL
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Usuario del mes 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
norman H.
norman H.
User
Autor

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

Leer más
Publicado en de norman H.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Usuario del mes 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪