My images keep stacked underneath each other in a row, but I want them two by two next to each other, does someone see the problem?
<div class="contentText" id="sectieC">
<H2>2014</H2>
</div>
<div class="row">
<div class="small-6 large-6 columns">
<img src="content/img/kaart.gif"></img>
<br></br>
<img src="content/img/GIF_1.gif"></img>
</div>
</div>
this is what I have in my CSS:
.row {
width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
max-width: 62.5rem;
}
.row:before, .row:after {
content:" ";
display: table;
}
.row:after {
clear: both;
}
.row.collapse > .column, .row.collapse > .columns {
padding-left: 0;
padding-right: 0;
}
.row.collapse .row {
margin-left: 0;
margin-right: 0;
}
.row .row {
width: auto;
margin-left: -0.9375rem;
margin-right: -0.9375rem;
margin-top: 0;
margin-bottom: 0;
max-width: none;
}
.row .row:before, .row .row:after {
content:" ";
display: table;
}
.row .row:after {
clear: both;
}
.row .row.collapse {
width: auto;
margin: 0;
max-width: none;
}
.row .row.collapse:before, .row .row.collapse:after {
content:" ";
display: table;
}
.row .row.collapse:after {
clear: both;
}
.column, .columns {
padding-left: 0.9375rem;
padding-right: 0.9375rem;
width: 100%;
float: left;
}
The problem is that I didn't code this CSS, so I didn't make the thinking process and now I'm a bit lost in it. But I have to make the final result and can't contact the one who made the CSS files.
See the final JSFiddle and use the code mentioned there: https://jsfiddle.net/h7fgcLnz/
Give both images a width and height like:
<img src="imglocation" width="200" height="200" alt="description">
You need to move the second image around with css. i created a fiddle:
<div class="contentText" id="sectieC">
<H2>2014</H2>
</div>
<div class="row">
<div id="first-image">
<img src="http://a.disquscdn.com/uploads/users/9992/2883 /avatar92.jpg?1420368091"></img>
<br></br>
<img id="second-image" src="http://a.disquscdn.com/uploads/users/9992/2883/avatar92.jpg?1420368091"></img>
</div>
</div>
css:
#second-image{position:relative; left: 150px; bottom: 110px;}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.