Firefox addon 使用XUL设置图像边框
如何使用XUL为图像设置边框 我试过了Firefox addon 使用XUL设置图像边框,firefox-addon,border,xul,Firefox Addon,Border,Xul,如何使用XUL为图像设置边框 我试过了 var img = document.createElement("image"); img.setAttribute("id","users_1"); img.setAttribute("style","width:30px;height:30px;cursor:pointer;border:1px solid"); 但它似乎忽略了它。您需要在边框定义中指定一种颜色: 将边框:1px纯黑更改为边框:1px纯黑 borders肯定在xul工作
var img = document.createElement("image");
img.setAttribute("id","users_1");
img.setAttribute("style","width:30px;height:30px;cursor:pointer;border:1px solid");
但它似乎忽略了它。您需要在边框定义中指定一种颜色: 将
边框:1px纯黑
更改为边框:1px纯黑
borders肯定在xul工作