Ajax Loader
×

Untitled

HTML
<div class="section1">
1
<div class="section1">
2
        <h2>Stuff in section one</h2>
3
</div>
4
<img src="http://placekitten.com/200/200" class='myimg'>
5
<div class="section1">
6
        <h2>Stuff in section two</h2>
7
</div>
8
 
9
<div class="section2">
10
    <div class="container"> 
11
        <h2>We compare all of the top travel sites</h2>
12
    </div>
13
</div>
 
CSS
.section1 h2 {
1
.section1 h2 {
2
  margin-bottom: 0;
3
}
4
 
5
.myimg{
6
    display: block;
7
    margin-top: 0;
8
    margin-bottom: 0px;
9
    margin-right: auto;
10
    margin-left: auto;
11
}
 

Untitled

CSSDeck G+