Foxtable(狐表)用户栏目专家坐堂 → 移动开-图片Attribute


  共有2435人关注过本帖平板打印复制链接

主题:移动开-图片Attribute

帅哥哟,离线,有人找我吗?
一笑
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:808 积分:6213 威望:0 精华:0 注册:2014/3/23 23:02:00
移动开-图片Attribute  发帖心情 Post By:2021/2/20 14:22:00 [只看该作者]

        如何把图片wb.InsertHTML中的属性写到Attribute中,谢谢!

       With wb.AddArticle("","ar1")
         .AddImage("./images/logo.png").Attribute = "style='background-position:center:'"
        End With

wb.InsertHTML("<style>body{background-image:url('./images/logo.png');background-position:center;background-repeat:no-repeat;background-attachment:fixed;}</style>")

 回到顶部