调整图像大小不是“正常”

时间:2014-02-05 23:29:17

标签: html css

我想调整箭头的大小(右,灰色)以调整大小并表现得像徽标(中间)。当您向左或向右调整浏览器窗口时,灰色箭头正在调整大小。但是当您使浏览器窗口更高或更高(向上/向下调整)时,箭头可以放在屏幕的右侧。

如果箭头可以将当前位置固定并且像页面中间的(清醒的)徽标那样表现/调整大小,那将是很好的。

问题出在班级:.ArrowUp。

你可以在这里找到整个网站 - > https://dl.dropboxusercontent.com/u/61634717/Website.zip

#HomePageLogo {
height: auto; /*120*/
width: auto; /*450*/
text-align:center;

padding-top:19%;
padding-right:35%;
padding-bottom:15%;
padding-left:35%;
}

body {
/*background:#000000; -- Test achtergrond -- */
/*background-image:url('../Pictures/HomePage/Background_HomePage1.jpg');*/

background: #2E2E2E url('../Pictures/HomePage/Background_HomePage1.jpg') no-repeat top left;
background-size:cover;
background-repeat:no-repeat;
width:auto;
height:0px;
}

img {
max-width:100%;
height:auto;
}

.ArrowUp {
position:absolute;
top:53%;/* ?? */
right:1%;
bottom:0%; /* ?? */
left:88%;
}

html& CSS。欢迎任何帮助或改进。

1 个答案:

答案 0 :(得分:0)

检查这是否有帮助:https://dl.dropboxusercontent.com/u/886568/Website_WaldoToelen.zip

您错过了箭头需要与“SOBER”图像位于同一容器中的部分,以使其绝对定位。