|
本帖最后由 zhou680623 于 2014-4-9 22:12 编辑
各位前辈同仁:
都恨自己对于html一窍不通,今天我从下午六点到现在都想做一件事,就是把自编的excel表格导入到MDICT里面作为个人词典使用。因此我:
1.下载了网页工具frontpage;
2.把excel里面的表格复制到frontpage里面;
3.frontpage自动生成了代码,把代码直接复制到txt表格里面,再用一位前辈的工具mdx-format1.1转换成html语言的txt;
4.然后用MdxBuilder转换成mdx词典。
当前的问题是:词典可用,能看到表格,但是表格总是在最下面的位置。真是万分头痛!还请过路的朋友指点迷津…… 希望表格会置顶,也就是呈现在最上面的位置。
从frontpage复制代码后用一位前辈的工具mdx-format1.1转换成html语言的txt如下:
电脑盘点表
<table x:str border="0" cellpadding="0" cellspacing="0" width="367" style="border-collapse:<BR> collapse;width:275pt" id="table1"><BR> <colgroup><BR> <col width="79" style="width: 59pt"><col width="70" style="width: 53pt"><BR> <col width="107" style="width: 80pt"><BR> <col width="111" style="width: 83pt"><BR> </colgroup><BR> <tr height="51" style="height: 38.25pt"><BR> <td height="51" width="79" style="height: 38.25pt; width: 59pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border: .5pt solid windowtext; padding: 0px"><BR> 资产名称</td><BR> <td width="70" style="width: 53pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: .5pt solid windowtext; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 品牌</td><BR> <td width="107" style="width: 80pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: .5pt solid windowtext; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 型号/系列</td><BR> <td width="111" style="width: 83pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: .5pt solid windowtext; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 主机出厂编号</td><BR> </tr><BR> <tr height="51" style="height: 38.25pt"><BR> <td height="51" width="79" style="height: 38.25pt; width: 59pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: .5pt solid windowtext; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 电脑</td><BR> <td width="70" style="width: 53pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 启天</td><BR> <td width="107" style="width: 80pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 启天M6900</td><BR> <td width="111" style="width: 83pt; color: black; font-size: 11.0pt; font-weight: 700; text-align: center; white-space: normal; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> SA0S354214</td><BR> </tr><BR> <tr height="51" style="height: 38.25pt"><BR> <td height="51" width="79" style="height: 38.25pt; width: 59pt; color: black; font-size: 11.0pt; text-align: center; white-space: normal; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: .5pt solid windowtext; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 电脑</td><BR> <td width="70" style="width: 53pt; color: black; font-size: 11.0pt; text-align: center; white-space: normal; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 方正文祥</td><BR> <td width="107" style="width: 80pt; color: black; font-size: 11.0pt; text-align: center; white-space: normal; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> ZHBB011</td><BR> <td width="111" style="width: 83pt; color: black; font-size: 11.0pt; text-align: center; white-space: normal; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; border-left: medium none; border-right: .5pt solid windowtext; border-top: medium none; border-bottom: .5pt solid windowtext; padding: 0px"><BR> 无</td><BR> </tr><BR></table><BR>
</>
|
|