当前位置: 代码迷 >> HTML/CSS >> css 有关问题
  详细解决方案

css 有关问题

热度:335   发布时间:2012-02-07 17:45:36.0
css 问题
<td   style= "height:28;   width:58px "> <iframe   src= " <%=   mket01PageUrl   %> "   style= "width:758px;height:283px;margin:0px;padding:0px; "   frameborder= "0 "   scrolling= "no "> </iframe> </td>

我想在一个td中放一个iframe,但这个td老会随iframe的高度变大。我想做到是iframe在td中显示。用td控制大小

------解决方案--------------------
<td style= "height:28;width:58px " id= "x ">
<iframe src= " <%= mket01PageUrl %> " style= "width:expression(document.all.x.style.width);height:expression(document.all.x.style.height);margin:0px;padding:0px; " frameborder= "0 " scrolling= "no "> </iframe> </td>
  相关解决方案