我正在修復我的第二個全寬圖像(在頁面中間的那個),以便在水平方向上與上面的標題圖像中的圖像一致。我注意到圖像右側有一個間隙,如下圖所示。這是因爲我的圖像不是1600px寬?如果需要的話,我可以編輯它,以便它是1600px。如果問題是別人可以幫助我。謝謝。全寬背景圖片調整大小問題
.fullWidthSectionBG {
background-image: url('http://static.squarespace.com/static/513d5347e4b0abff73be5264/t/519c45c4e4b084baf13d7e27/1369195972115/rocktruck2.jpg');
border-bottom: solid 1px #ddd;
border-top: solid 1px #ddd;
margin-left: -1600px;
margin-right: -1600px;
padding-top:20px;
padding-bottom:330px;
overflow: hidden;
background-position: center;
background-repeat: no-repeat;
background-size: auto;
}
<div class="fullWidthSectionBG">
<div class="fullWidthSection">
<div class="myLeftColumn">
<p>
</p>
</div>
<div class="myRightColumn">
<h2>Used By Thousands Of Canadians</h2>
<p>Jobspark.ca is dedicated to providing resources for job seekers and employers throughout British Columbia and Alberta. Many top employers along with small local businesses from across the region post their jobs on Job Spark to find qualified professionals.</p>
<p>Job Spark simplifies your quest for the perfect career with a clean design and real-time postings. Our streamline job board was designed to take the headache out of finding a job.</p>
<p>Your job listings will be seen across multiple venues, receiving thousands of views each month! </p></div>
</div>
</div>
向我們展示了HTML。 – Raptor
確定已更新幷包含html –
當我使用此css時,它不適用於我的移動設備,因爲它不涵蓋整個部分。任何想法如何解決CSS –