Я хотел бы, чтобы края моего изображения растягивали ширину экрана. Не ищите, чтобы это был полный фон.Создание изображения полной ширины
Мой сайт www.jobspark.ca
<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>
CSS
.fullWidthSectionBG {
background-image: url('http://static.squarespace.com/static/513d5347e4b0abff73be5264/t/519c45c4e4b084baf13d7e27/1369195972115/rocktruck2.jpg');
background-position:center;
background-repeat: no-repeat;
height:575px;
margin-left: -1600px;
margin-right: -1600px;
}
Этот ответ был близок, но тогда остальная часть сайта, не является изображением расширенный полный экран.
#site > .wrapper {
max-width: 960px;
padding: 0 50px;
margin: 0 auto;
position: relative;
}
изменение 960px до 100%
& избавиться от
margin-left: -1600px;
margin-right: -1600px;
Я боролся с этой проблемой в течение нескольких дней, и теперь будет Су рад что-нибудь придумаем. Может потребоваться уменьшить масштаб, чтобы увидеть проблему.
Он подходит для меня в Chrome. Какой браузер вы используете? –
Кажется, работает в FireFox 1280x1024 –
Я использую хром. Но не полный экран для меня ... Не знаю, почему. Я просматриваю сайт с широким монитором –