I'm trying to build an adaptive/semi-responsive portfolio website of my print work. Mainly to learn basic coding.
Got this page to the point where it has a responsive grid working for the desktop media query, but can't get background pictures to load. What am I doing wrong, (which is probably a lot. This is my first post ever on a forum, please point out any conventions I'm not following or protocol stuff-ups. And I'm new to coding and using 44 year old wet-ware, brain less plastic than when I was younger so be gentle : )
The HTML is below, the css, below that: It's basically a three column grid that I want to expand and scale along with the background pics. The actual website link is here:
<snip>
(The weird colours on the three column grid are just there to help me figure out what div is doing what and the website's still under construction and so a lot of the links don't lead anywhere yet - just messing about really)
</div>
<div class="wrapper2">
<div class="articleColumn" id="articleColumna">
<div class="container5" id="wiring">
<span id="image">
<span id="image-inner">
</span>
</span>
</div>
<div class="caption">
<p><span class="rwd-break">Feature spread, layout and illustration,</span><span class="rwd-break">(concept and artwork)</span></p>
</div>
</div>
<div class="articleColumn" id="articleColumnb">
<div class="container5" id="wiring">
<span id="image">
<span id="image-inner">
</span>
</span>
</div>
<div class="caption">
<p><span class="rwd-break">Feature spread, layout and illustration,</span><span class="rwd-break">(concept and artwork)</span></p>
</div>
</div>
<div class="articleColumn" id="articleColumnc">
<div class="container5" id="wiring">
<span class="image" id="wiringPicBox">
<span id="image-inner">
</span>
</span>
</div>
<div class="caption">
<p><span class="rwd-break">Feature spread, layout and illustration,</span><span class="rwd-break">(concept and artwork)</span></p>
</div>
</div>
</div>
</body>
.wrapper2 {
min-width:769;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
background-color:#FFF;
}
.articleColumn {
width:33.3%;
height: 200px;
}
#articleColumna {
background-color:#FF8080;
float:left;
}
#articleColumnb {
background-color:#0099CC;
float:left;
}
#articleColumnc {
background-color:#001A33;
float:left;
clear: right;
}
.container5 {
width:92%;
margin-left:auto;
margin-right:auto;
background-color:#FFFFFF;
}
.image {
display: inline-block;
width: 100%;
font-size: 0;
line-height: 0;
}
#image-inner {
display: block;
height: 0;
padding-top: 58.57142857142857%;
}
.rwd-break {
display: block;
}
#wiringPicBox {
background-image:url('../images/03_TDL_wiring_desktop_b');
}
[edited by: incrediBILL at 7:25 am (utc) on Jan 18, 2014]
[edit reason] URls removed. Please see forum charter and TOS [/edit]