我一直試圖讓頁腳移動到右下角。它目前是唯一一個在我調整瀏覽器大小時不會全部移動的頁面,更不用說頁面底部或右側。我是HTML新手,主要是做爲數據科學項目的輸出。這裏是我的代碼:我的HTML頁腳不會向下移動
<!DOCTYPE html>
<html lang="en">
<style>
html {
background: url("https://lh3.ggpht.com/TOsicwUVM6bKoB1_u_5noea0kkFAegkAdBFQcmTXhwKrN5485URcl0IWxgjldjd59A=h900") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body { height: 100%;}
#nonFooter { position: relative; min-height: 100%;}
* html #nonFooter { height: 100%;}
#Footer { position: relative; margin-top: -7.5em; }
</style>
<body>
<div class="page-wrap">
<div class="header">
<h3 style ="color:#FFFFFF" class="text-muted">Headerthing</h3>
</div>
<div>
<h1 align="center" style ="color:#FFFFFF">Predict tool</h1>
<p class="lead"></p>
</div>
<div style ="width: 300px; margin: 130px auto 0 auto; ">
<div style ="color:#FFFFFF;">
<form action="upload.php" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>
<form action="/action_page.php">
Instagram Handle:<br>
<input type="text" name="handle"><br>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
<footer class="site-footer">
<p style="color:white">Founders: Charles Barkley, Hakeem the Dream and Shaqs fat ass </p>
</footer>
</body>
</html>
所以你想在最底部? –
這將是驚人的。在右邊將是一個巨大的獎金 – DataScienceAmateur
請不要在所有帽子中鍵入您的標題。這裏沒有理由要SHOUT。當你看到主頁的問題列表時,你看不到任何(除了你的)全部大寫字母,原因是a)它不會幫助你更快; b)它使文本更難以閱讀和解析;和c)這是非常粗魯和煩人的人在你身上。表現出一定的尊重和平常的禮貌,不要來到這裏和SHOUT,除了我們會來到你的辦公室或家中,並向你求助時尋求幫助。 –