首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

css 有关问题

2012-02-07 
css 问题tdstyle height:28width:58px iframesrc %mket01PageUrl%style width:758pxheig

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>

热点排行