Hi @Peter_1985 ,
I simply tested your code. I suggest that you can use the F12 developer tool to check yourself.
Javascript issue
Hi,
What to adjust below
to ensure no different color part highlighted?
ASP.NET
C#
-
Viorel 112.5K Reputation points
2022-07-19T07:41:09+00:00 Maybe remove the "rowspan=5" attribute.
-
Peter_1985 2,526 Reputation points
2022-07-19T08:25:42.81+00:00 Yes, I removed that and re-deployed it. But it is still the same issue.
-
Reza Aghaei 4,936 Reputation points • MVP
2022-07-19T09:15:46.93+00:00 @Peter_1985 Please do not post picture of the code; instead, post the code here to let the users reproduce the issue easily.
I also do not see the JavaScript part. Did you forget to add JavaScript in the code, or just used the wrong tag? (Maybe HTML is the right tag?) -
Peter_1985 2,526 Reputation points
2022-07-19T09:35:28.28+00:00 Please see the code below, for which I cannot remove that highlighted part.
-
Reza Aghaei 4,936 Reputation points • MVP
2022-07-19T09:46:58.217+00:00 Thanks, that would be great if you edit the question and add that piece of code to the question. You can use the format code button to make sure it will be displayed well; you can also see the preview :)
-
Peter_1985 2,526 Reputation points
2022-07-19T09:57:51.35+00:00 How to correct my issue?
-
Yijing Sun-MSFT 7,071 Reputation points
2022-07-19T10:04:11.547+00:00 Hi @Peter_1985 ,
I think there are many factors to break your style. "Rowspan","class","css" and so on. So, I suggest you could share full codes to us. It will help us to solve your problems.
Note: Please use English to replace your Chinese.
Best regards,
Yijing Sun -
Reza Aghaei 4,936 Reputation points • MVP
2022-07-19T10:49:02.53+00:00 Well, I'd say the first step of fixing an issue is trying to create a Minimal, Reproducible Example. Then if you cannot fix it yourself, other people can easily reproduce the issue and try to solve it. Currently, the code which you have shared could not be used to reproduce the issue.
-
Peter_1985 2,526 Reputation points
2022-07-19T12:47:16.097+00:00 HI,
Can you refer to the codes below?https://1drv.ms/t/s!Ai8CrEskdewXxwGOtBjTE5D-fMsR?e=GMMc7N
https://1drv.ms/t/s!Ai8CrEskdewXxwJYbAuICu-n-BpZ?e=oteJnV -
Lan Huang-MSFT 25,866 Reputation points • Microsoft Vendor
2022-07-20T10:53:10.36+00:00 Hi @Peter_1985 ,
I got the following image based on your code.
Are you sure the code you provided is the same as the previous code?
You can check the code written based on your code below.
Maybe you can provide more complete code, otherwise it's hard to help you out.<table> <tr> <td>货币名称></td> <td colspan=2>Currency.Country</td> <td>img</td> <td>货币 Currency.serial_id</td> </tr> <tr> <td>货币</td> <td colspan=2>Currency.Code</td> <td>名称</td> <td>Currency.Currency</td> <td colspan=2>Currency.Country_cn</td> <td></td> </tr> <tr> <td>Currency.Currency_cn</td> <td>删除记录</td> </tr> <tr><td></td></tr> <tr><td colspan=6></td></tr>
Best regards,
Lan Huang -
Peter_1985 2,526 Reputation points
2022-12-07T03:48:06.227+00:00 Hi Lan,
Can you help? -
Lan Huang-MSFT 25,866 Reputation points • Microsoft Vendor
2022-12-07T05:06:58.567+00:00 Hi @Peter_1985 ,
I tested your provided code. There is no problem as you mentioned. -
Peter_1985 2,526 Reputation points
2022-12-07T05:15:10.317+00:00 Hi,
Did you have such red part below, when you test it?
Sign in to comment
-
Lan Huang-MSFT 25,866 Reputation points • Microsoft Vendor
2022-12-07T06:02:39.417+00:00 -
Peter_1985 2,526 Reputation points
2022-12-07T07:35:55.593+00:00 Hi,
Can the different segment/part (with the same colour below), be adjusted to be with the same length?
-
Lan Huang-MSFT 25,866 Reputation points • Microsoft Vendor
2022-12-07T09:00:21.877+00:00 Hi @Peter_1985 ,
you can.
The length is different because the number of<td>
is inconsistent. Check the number of<td>
s per line.This post is a bit old, in order to better help you solve the problem, I suggest you open a new post.
Best regards,
Lan Huang -
Peter_1985 2,526 Reputation points
2022-12-07T09:27:27.05+00:00 Hi,
OK. I will have new one. How to choose your last reply as the answer? -
Lan Huang-MSFT 25,866 Reputation points • Microsoft Vendor
2022-12-07T09:42:49.637+00:00 Hi @Peter_1985 ,
I've turned my comment into an answer. -
Peter_1985 2,526 Reputation points
2022-12-07T09:45:35.193+00:00 Hi,
Can you help to one other thread belowhttps://learn.microsoft.com/en-us/answers/questions/1119767/row-width-issue.html
if possible?
Sign in to comment -