以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 居中显示问题? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=179522) |
-- 作者:狐表(小白) -- 发布时间:2022/8/27 21:52:00 -- 居中显示问题? 通过以下方式显示的网页表,合计如何实现居中显示?如图 With .Body.AddRow() .Attribute = "style=\'background-color:LightSkyBlue\'" .AddCell("合计","colspan=\'3\'") .AddCells(dt.Compute("sum(数量)"),dt.Compute("sum(金额)")) End With |
-- 作者:有点蓝 -- 发布时间:2022/8/28 20:16:00 -- .AddCell("合计","colspan=\'3\' style=\'text-align: center;\'") |
-- 作者:狐表(小白) -- 发布时间:2022/8/31 11:07:00 -- 多谢 |