以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  add input 样式设置  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=148343)

--  作者:cuicuibing
--  发布时间:2020/4/6 8:39:00
--  add input 样式设置
With wb.AddInputGroup("form1","ipg1","信息")
    .Class = "inputt"
    .Attribute = "style = \'color:#0000FF;fot-weight:900;\'"
    .AddInput("aa","货号","text")
     
    With .AddInput("bb","号码","text")
        .Value = 12345
        .Readonly= True
    End With

    标红的部分,可以单独设置样式吗,字体颜色,如果可以,应该怎么写。
End With


--  作者:有点蓝
--  发布时间:2020/4/6 10:16:00
--  
比如
    With .AddInput("bb","号码","text")
        .Value = 12345
        .Readonly= True
.Attribute = "style = \'color:red;font-size:20px;\'"
    End With