I have two <div>
sections, one with content on top and the other with image below. I want the <div>
to seat on top of other that is I would like to erase the space between the two <div>
s. How do I do it?
.boxed-green {
margin-top: 1%;
padding: 0 8px 0 8px;
border: none;
background: #5AAD97;
}
.boxed-green h3 {
padding: 4% 6% 3% 6%;
margin-top: 1%;
font-family: "Verdana", "Times New Roman";
font-weight: bold;
font-size: 19px;
color: black;
}
.boxed-green h4 {
padding: 0% 6% 8% 6%;
font-size: 14px;
font-family: "Verdana", "Times New Roman";
color: black;
}
img {
margin: 0;
padding: 0;
display: block;
}
<div class="container">
<div class="col-md-3">
<div class="boxed-green">
<p>
<h3> Who We Are </h3>
</p>
<p>
<h4>Test Test Test Test Test Test</h4>
</p>
</div>
<div>
<img src="images\vivid_studios\studio1_1.png" alt="Picture1">
</div>
</div>
</div>
&
tag comes inside
tag, & when i run the html it shows error, so i put
tag inside
&
– Nayana_Das Mar 16 '17 at 10:40. Then it worked. It will definitely work.