我有這個片段,我想定位像this;有人可以幫我嗎? 我無法像我想要的那樣定位它,因爲元素不會移動(靜態)或[overflow-y idk]。
我試過了所有我能想到的東西,而且我不知道該怎麼做。頁腳上的位置元素
編者按:我不知道你的意思是overflow-y idk
。請澄清,OP。
footer {
\t width: 100%;
\t height:60px;
\t background-color :#e5e5e6;
\t margin :0;
\t padding: 0;
\t overflow: auto;
border-top: 0.1px solid #6ca204;
}
footer #copyright {
\t text-align: center;
\t color : #4A4444;
\t padding :15px;
}
.login {
\t background-color:transparent;
\t display:inline-block;
\t cursor:pointer;
\t color:#4A4444;
\t font-family: 'Questrial', sans-serif;
\t text-transform: uppercase;
\t font-size:15px;
\t padding:8px 21px;
\t text-decoration:none;
\t margin-left: 93%;
\t overflow:auto;
}
.login:hover {
\t text-decoration: underline;
}
.PT {
\t background-color:transparent;
\t display:inline-block;
\t cursor:pointer;
\t color:#4a4444;
\t font-family: 'Questrial', sans-serif;
\t text-transform: uppercase;
\t font-size:20px;
\t padding:8px 8px;
\t text-decoration:none;
\t margin-left: 80%;
\t overflow:auto;
\t border: 1px solid #6ca204;
\t border-radius: 50%;
}
.EN {
\t background-color:transparent;
\t display:inline-block;
\t cursor:pointer;
\t color:#4a4444;
\t font-family: 'Questrial', sans-serif;
\t text-transform: uppercase;
\t font-size:20px;
\t padding:7px 7px;
\t text-decoration:none;
\t margin-left: 80%;
\t overflow:auto;
\t border: 0.1px solid #6ca204;
\t border-radius: 50%;
}
<footer>
\t \t <a href="#" class="login">Log in</a>
\t \t <a href="#" class="PT">PT</a>
\t \t <a href="#" class="EN">EN</a>
\t \t <p id ="copyright">© HardSecure 2017-2017</p>
\t </footer>
@ toxide82沒有工作 –