我的100%w& h表垂直扩展但在窗口大小调整时不收缩

时间:2016-01-20 23:55:51

标签: html html-table twitch

所以我正在办公桌上拿着一些抽搐的小部件。除垂直收缩外,事物似乎正在适当调整大小。一切都会水平扩展和收缩,但只能垂直扩展。如何解决此问题并使我的网站重新调整大小?

到目前为止,这是我的代码:

<!doctype html>
<html style="height: 99%;">
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>

<body style="height: 99%;">

<table width="100%" style="height: 99%;" border="1">
  <tbody>
    <tr>
      <td rowspan="2" width="350"><iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel=twitchraidstwitch&amp;popout_chat=true" height="99%" width="350"></iframe></td>
      <td><object type="application/x-shockwave-flash" height="99%" width="100%" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=internationalspacepimps" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.twitch.tv&channel=twitchraidstwitch&auto_play=true&start_volume=25" /></object></td>
      <td rowspan="2" width="350"><iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel=monstercat&amp;popout_chat=true" height="99%" width="350"></iframe></td>
    </tr>
    <tr>
      <td><object type="application/x-shockwave-flash" height="99%" width="100%" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=internationalspacepimps" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.twitch.tv&channel=twitchraidstwitch&auto_play=true&start_volume=25" /></object></td>
    </tr>
  </tbody>
</table>
</body>
</html>

0 个答案:

没有答案