Text above matrix table full width | XM Community
Skip to main content
Question

Text above matrix table full width

  • April 23, 2024
  • 4 replies
  • 73 views

Forum|alt.badge.img+3
  • Level 2 ●●
  • 18 replies

Hey community,

I use a matrix table but the text above the matrix table has unintended line breaks (see picture attached).

How can I make this text full table width?

Thanks!

 

 

4 replies

Forum|alt.badge.img+21
  • 319 replies
  • April 24, 2024

Hi @lamori ,

 

Your question seems rather similar to another post here.
Perhaps you can try if that solution works.


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 18 replies
  • April 24, 2024

Hi @Chee Heng_SZ,

 

Thank you!

 

In my case the default matrix table was too wide and I used the following command to make it more narrow:

<style>
.Skin .QuestionOuter.Matrix{
max-width: 80%;
}
</style>

Yet, even without the command, the text above the matrix table is still not full width. Not sure where the problem is here..

Do you or others have another idea?


Nanditha MM
Level 4 ●●●●
Forum|alt.badge.img+17
  • Level 4 ●●●●
  • 114 replies
  • April 29, 2024

Hi @Chee Heng_SZ , You can try with below code:

 

<div style="width: 100%; text-align: center;">Your text here</div>
 

Thank you!


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 18 replies
  • April 29, 2024

@Nanditha MM, thank you! Unfortunately, your suggestions also not yield to the desired result.