使用材质设计灯设置<object>的宽度和高度

时间:2016-03-14 13:47:17

标签: html css

我正在尝试使用material design lite在网页中嵌入Flash游戏。我在这个上下文中声明了对象:

<body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base">
    <div style="mdl-layout mdl-js-layout mdl-layout--fixed-header">
       ...
       <object type="application/x-shockwave-flash " style="width:1024px;height:576px">
       ...
       </object>
   </div>
</body>

查看chrome开发人员工具,我可以看到对象的“width”和“height”设置为“auto”。

enter image description here

如何将它们设置为我想要的值?

0 个答案:

没有答案