这是我在 C# 代码中的 html 代码
tosend = "<p><tr><th>The directory searched: " + path + " </th><th> between the dates " + fdate + " and " + ldate + "</th></tr> <br> </p> <tr><th>File Name</th> <th>File Date</th> <th>File Hash</th> <th>Beamer Date</th> <th>Beamer Hash</th> <th>Status</th></tr>";
for (int i = 0; i < thexfiles.Length; i++)
{
tosend = tosend + "<tr><td>" + thexfiles[i] + "</td><td>" + filedate[i] + "</td><td>" + hashList[i] + "</td><td>" + thexdates[i] + "</td><td>" + beamerHash[i] + "</td><td>" +status[i] + "</td></tr>";
}
tosend = "<html><table border="+1+">" + tosend + "</table></html>";
这是它的外观链接:点击这里
我想做的是,
- 我想扩展第一行,使其与其他行的大小相同,
- 如您所见,日期行和状态行的高度太多,我希望它们看起来像一条线,例如展开。
这就是我所需要的,到目前为止我已经尝试过正常的 html width-height 等,我可能因为错误的符号而无法成功。