好了,所以在这里我们去: http://judao.com.br/direto-do-epicentro-de-terremoto-a-falha-de-san-andreas/为什么DIV和图像不是调整大小,而是被切割?
内容图像是巨大的,100%的宽度,用的标题。但在1080p分辨率。下面的任何内容都会削减图像,标题和视频。
divs在另一个里面,它说max-width:960px。这是我做了很多事情。
#tamanhao {
display: inline-block;
left: -50%;
outline: 0;
overflow: hidden;
position: relative;
text-align: center;
height: auto !important;
width: 200%;
}
#tamanhao img {
max-width: 100% !important;
padding-top: 32px !important;
height: auto !important;
}
.caption {
float: left;
display: inline;
margin-top: -16px;
font-size: 14px;
color: #888;
padding-left: 32px !important;
max-width: 470px;
font-style: italic;
font-family: exo;
text-align: left !important;
line-height: 14px !important;
}
#videozao {
display: block;
left: -50%;
outline: 0;
overflow: hidden;
position: relative;
text-align: center;
width: 200%;
max-height: 744px !important;
}
#videozao iframe {
margin: 0 auto;
display: block;
width: 1280px !important;
height: 720px !important;
position: relative;
}
我在做什么错?我怎样才能做到这一点?
不确定你在问什么,但是如果我找到了你的话,就从'h1.Titulo_SINGLE'的'@media only screen'和(@media media)屏幕上移除'background-color:#fff!important;'最大宽度:646px)'。 – falsarella