简体   繁体   English

如何使iframe适合整个部分?

[英]How can I make my iframe fit the whole section?

The problem I'm having is located at http://fourbetpoker.com/play/index.html 我遇到的问题位于http://fourbetpoker.com/play/index.html

If you click on either "Poker" or "Dice", you'll see that my iframe has space around it (easier to see on the dicing tab). 如果您点击“扑克”或“骰子”,您会发现我的iframe周围有空间(更容易在“切割”标签上看到)。 Can anyone tell me why, and potential fixes? 谁能告诉我原因以及潜在的解决方法? I've been messing with the code for well over an hour and I have no idea what's wrong with it. 我已经将代码弄乱了一个多小时,而且我不知道它是怎么了。 I'm a newbie when it comes to Bootstrap/CSS. 我是Bootstrap / CSS的新手。 Thanks! 谢谢!

When I click Dice tab, I saw lot of empty space around for the content. 单击“骰子”选项卡时,看到内容周围有很多空白。 It is coming because of the following class available in global.css file. 由于以下类在global.css文件中可用,因此即将到来。 Margin applied around the form. 保证金适用于表格。

  #loginContent #loginHeadlineContainer
  {
    margin:100px 100px 0 100px;
  }

If you don't want apply any margin then reduce it in the class. 如果您不想应用任何边距,则在班级中减少它。 By Simple make it zero. 通过简单使其为零。

 #loginContent #loginHeadlineContainer
 {
   margin:0;
 }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM