Space between divs

2

Good morning!

I have the figure below where the " GAS FOR ADDRESS " icon and the Div containing a red buttons , we see a space >. Theproblemisthatthisspacedoesnotexistincode.

body{width:100%;font-size:14px;}div.banner{width:100%;position:relative;}div.sessoes{width:1000px;position:relative;margin:auto;}div.banner{background-color:#EEE;}div.bannerimg{width:100%;}

index.php

<divclass="banner">
   <div class="sessoes"><?php require_once "_requeridos/banner.php"; ?></div>
</div>

banner.php

<img src="_img/_banner/banner2.png"/>

It can be viewed at: link

How to remove this?

    
asked by anonymous 15.11.2017 / 12:38

1 answer

2

Just in the css file put display: block in the img tag of the class banner:

div.banner img {
    width: 100%;
    display: block;
}
    
15.11.2017 / 12:57