+HTML редактор
This commit is contained in:
@ -548,7 +548,7 @@ class SRec
|
||||
td1.colSpan='2';
|
||||
|
||||
let table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="border:0px;";
|
||||
table.setAttribute("width","100%");
|
||||
table.cellspacing=0;
|
||||
table.cellpadding=0;
|
||||
@ -579,8 +579,7 @@ class SRec
|
||||
if (columnNode.getAttribute("vt")==="dateTime")
|
||||
{
|
||||
let table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
|
||||
let newRow=table.insertRow(0);
|
||||
let newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width:100%;";
|
||||
@ -626,9 +625,8 @@ class SRec
|
||||
if (columnNode.getAttribute("vt")==="date")
|
||||
{
|
||||
let table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
newRow=table.insertRow(0);
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
|
||||
let newRow=table.insertRow(0);
|
||||
let newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width:100%;";
|
||||
let newCell2 = newRow.insertCell(1);
|
||||
@ -752,8 +750,7 @@ class SRec
|
||||
}else {
|
||||
|
||||
let table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
|
||||
let newRow=table.insertRow(0); //We add a row in the created table.
|
||||
let newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;padding-right:1px;width:100%;";
|
||||
@ -814,9 +811,7 @@ class SRec
|
||||
let fc=columnNode.getAttribute("FieldCaption");
|
||||
|
||||
let table=document.createElement('table');
|
||||
//table.setAttribute("bgColor","#0000FF")
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
|
||||
let newRow=table.insertRow(0); //We add a row in the created table.
|
||||
let newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px; border: 0px solid #999999; /*width:100%;*/";
|
||||
|
||||
Reference in New Issue
Block a user