新手需要帮助,因为我无法使用<p align="center">
或<div align="center">
来使以下代码居中。
我的代码:
<div id="cp_widget_2445b6c4-0741-4027-9dbd-0ac3ba09af05">...</div>
<script type="text/javascript">
var cpo = [];
cpo["_object"] = "cp_widget_2445b6c4-0741-4027-9dbd-0ac3ba09af05";
cpo["_fid"] = "AYEAnSOx19tA";
var _cpmp = _cpmp || []; _cpmp.push(cpo);
(function() {
var cp = document.createElement("script");
cp.type = "text/javascript";
cp.async = true;
cp.src = "//www.cincopa.com/media-platform/runtime/libasync.js";
var c = document.getElementsByTagName("script")[0];
c.parentNode.insertBefore(cp, c);
})();
</script>
任何帮助将不胜感激。
答案 0 :(得分:1)
将CSS属性dim i as long, lr as long
lr = cells(rows.count,1).end(xlup).row
i = 1
do until cells(i,1).value > 6 OR i > lr
i = i+1
loop
if i > lr then exit sub
'something with cells(i,1).value
添加到元素。
您也可以使用flexbox。添加以下CSS属性-
display: block; margin: 0 auto