- Posts: 11
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
fixed cell width
- benshuo
- Topic Author
- Offline
- New Member
Less
More
4 years 9 months ago #185942
by benshuo
fixed cell width was created by benshuo
Hi, everyone. When I translate one table from English to Chinese, the table layout is changed. I would like to know how to fix the cell width? Please find the related document(.lss) on the attachment. Thanks
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 9 months ago - 4 years 9 months ago #185943
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic fixed cell width
Hi,
seems to be a GIGO problem (Garbage In - Garbage Out)
Please, revise the width in your HTML code:
<tr>
<td colspan="2" style="text-align: center;" width="26%"> </td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><br />
<span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"> <strong>Visualization A</strong></span><br /></span>
</td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"><strong>Visualization B</strong></span> </span></td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"><strong>Visualization C</strong></span> </span></td>
</tr>
In total you distribute 137%.
With a setting of
20, 26, 26, 28 you get
Additionally set the width of zje table to 100%.
I only looked at the width, not at the other settings.
Joffm
seems to be a GIGO problem (Garbage In - Garbage Out)
Please, revise the width in your HTML code:
<tr>
<td colspan="2" style="text-align: center;" width="26%"> </td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><br />
<span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"> <strong>Visualization A</strong></span><br /></span>
</td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"><strong>Visualization B</strong></span> </span></td>
<td bgcolor="#308737" style="text-align: center;" width="37%"><span style="color:#ffffff;font-size:20px;"><span style="color:#ffffff;font-size:20px;"><strong>Visualization C</strong></span> </span></td>
</tr>
In total you distribute 137%.
With a setting of
20, 26, 26, 28 you get
Additionally set the width of zje table to 100%.
I only looked at the width, not at the other settings.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 9 months ago by Joffm.
The topic has been locked.
- benshuo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
4 years 9 months ago #185947
by benshuo
Replied by benshuo on topic fixed cell width
Thanks for the help.
The topic has been locked.