kecke
New Member
Posts: 4
inherit
268008
0
Feb 22, 2024 13:35:03 GMT -8
kecke
4
May 2023
kecke
|
Post by kecke on May 30, 2023 11:52:58 GMT -8
Forum URL: asphalt8.freeforums.net/Helllo! I have created a table with many columns and most cells is set to not wrap text, so the table get quite wide. This works well in desktop view, there is a horizontal scroll bar which lets you scroll the table columns. But in mobile view, only the first columns are shown, the rest of the table is not displayed and no vertical scroll bar is visible. I have tried to wrap the table inside a div with style=“overflow-x: scroll;”, but the style disappears when I save the post. Here is a link to the post with the table: asphalt8.freeforums.net/post/58248/threadPlease help! Is it possible to show the table with horizontal scroll bar in mobile view, in the same way as in desktop view?
|
|
#e61919
Support Staff
224482
0
Member is Online
1
May 1, 2024 13:36:16 GMT -8
Scott
23,319
August 2015
socalso
|
Post by Scott on May 30, 2023 12:05:36 GMT -8
kecke - Try the following, don't specify x or y: [div style="overflow:scroll;"]
|
|
kecke
New Member
Posts: 4
inherit
268008
0
Feb 22, 2024 13:35:03 GMT -8
kecke
4
May 2023
kecke
|
Post by kecke on May 30, 2023 12:21:54 GMT -8
kecke - Try the following, don't specify x or y: [div style="overflow:scroll;"] Thank you for trying to help me! But it doesn’t work. The style attribute disappears from the div when i save the changes
|
|
#e61919
Support Staff
224482
0
Member is Online
1
May 1, 2024 13:36:16 GMT -8
Scott
23,319
August 2015
socalso
|
Post by Scott on May 30, 2023 12:25:52 GMT -8
kecke - Hmmm.... that worked on my test forum. I'll take a closer look at your post. brb
|
|
#e61919
Support Staff
224482
0
Member is Online
1
May 1, 2024 13:36:16 GMT -8
Scott
23,319
August 2015
socalso
|
Post by Scott on May 30, 2023 12:28:33 GMT -8
kecke - Ok check it out now on your mobile.
|
|
kecke
New Member
Posts: 4
inherit
268008
0
Feb 22, 2024 13:35:03 GMT -8
kecke
4
May 2023
kecke
|
Post by kecke on May 30, 2023 12:35:50 GMT -8
kecke - Ok check it out now on your mobile. Yes, it looks great, thank you! But i did exactly the same before and it disappeared when i saved the changes.
|
|
#e61919
Support Staff
224482
0
Member is Online
1
May 1, 2024 13:36:16 GMT -8
Scott
23,319
August 2015
socalso
|
Post by Scott on May 30, 2023 12:39:18 GMT -8
kecke - The difference is the quotes being used. You code had the "curly" or smart quotes and this was the problem
|
|
kecke
New Member
Posts: 4
inherit
268008
0
Feb 22, 2024 13:35:03 GMT -8
kecke
4
May 2023
kecke
|
Post by kecke on May 30, 2023 13:11:44 GMT -8
kecke - The difference is the quotes being used. You code had the "curly" or smart quotes and this was the problem Yes, I just discovered that myself and came back here to explain the reason for my problem. The table is generated by a dotnet-application and the changes i made to make the horizontal scrolling work was made on my IPad. Apparently IPad doesn’t use normal quote-characters. Thank you for your super fast support!
|
|