画面サイズが小さくなったときにチャットボックスをビデオの下に移動させるのに問題があります。また、小さな画面で小さくならないようにするにはどうすればいいですか?私はそれが敏感であることを望む。小さな画面でdivを下に移動
<div class="container-fluid" >
<!-- style="height: 90%; width: 60%; float:left;" height="100%" width="49%" align="left" -->
<div class="youtube-video" id="video">
<!-- for live video -->
<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2F1277805348996425%2Fvideos%2F<?php echo $liveID; ?>%2F&show_text=0&width=476" width="476" height="476" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
<!-- <iframe class="embed-responsive-item" src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2F<?php echo $liveID; ?>%2Fvideos%2F1277978488979111%2F&show_text=1&width=560" width="560" height="475" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe> -->
<!-- <iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2F1277805348996425%2Fvideos%2F1278782988898661%2F&show_text=1&width=560" width="560" height="475" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe> -->
<!-- for embbedded facebook video (test purposes) -->
<!-- <iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FDota2BestYolo%2Fvideos%2F<?php echo $liveID; ?>%2F&show_text=1&width=560" width="560" height="451" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe> -->
<!-- youtube embed video -->
<!-- <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/live_stream?channel=UCJaiEVEFaen5QC28rJp0fEw"></iframe> -->
</div>
<div class="chat row" >
<div id="messages" class="chat-area"></div>
<?php
if (loggedin()) { ?>
<table>
<tr>
<td>
<textarea style="padding: 10px;" rows="3" cols="50" class="entry row" placeholder="Type your message here..." name="msg" id="txtBox"></textarea>
</td>
</tr>
</table>
<?php } else { ?>
<table>
<tr>
<td style="width: 400px;">
<textarea style="" id="message" rows="3" cols="50" class="entry row" placeholder="Type your message here..." name="msg"></textarea>
<!-- Modal -->
<div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Please Login</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>You must first login before you can join the conversation.</p>
</div>
<div class="modal-footer">
<input type="button" class="btn btn-primary" value="Login" onclick="location.href='login.html'"/>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<?php } ?>
</div>
</div><!-- end of container -->
enter image description here これは私が達成したいものです。
enter image description here これは私が得ているものです。
あなたが動作するコードを提供することができますか...? –
申し訳ありませんが、私は2リンクを投稿できないと言います。私は私のコメントを更新します。ごめんなさい。 –
@ Eyes-kun質問を編集し、あなたのhtmlとCSSを含めることができます。また、編集メニューの '<>'アイコンを使って、コードのスニペットを作成することもできます。 – Nisarg