overflow não funciona depois que coloquei max-width
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="slide">
<?php
$sql = "Select * From cn_banners where ativo = 'S'";
$total = $banner->totalRegistros($sql);
for($i=0;$i < $total;$i++){
$banner->verBanners($sql, $i);
$id_banner = $banner->getId();
$img_banner = $banner->getImgBanner();
?>
<img src="cn_admin/banners/<?php echo $banner->getImgBanner(); ?>" alt="<?php echo $banner->getAltBanner(); ?>" border="0"/>
<?php } ?>
</div><!--fim div banner-->
</div>
</div>
</div>
</div>
#slide {
max-width : 100%;
height : auto;
margin : 10px 0 0 8.9%;
float : left;
z-index : 1;
overflow : hidden;
}
#slide img {
max-width : 100%;
height : auto;
margin : 0;
float : left;
overflow : hidden;
}
#logo img{
max-width:100%;
height:auto;
top:30%;
left:50%;
margin-left:400px;
margin-top:-190px;
z-index:2;
}