Witam. Otóż mam pewien problem z divami, a mianowicie nie mogę ich ustawić za pomocą "float: left", nie reagują na to.
<html lang="pl">
<head>
<title>.</title>
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>-->
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div id="con">
<div id="menu">
<a href="a.html">MENU</a>
</div>
<div id="img_con">
<div class="img">
AAAA
</div>
<div class="img">
BBBB
</div>
<div class="img">
CCCC
</div>
<div class="img">
DDDD
</div>
<div class="img">
EEEE
</div>
</div>
</div>
</body>
</html>
body {
font-size: 13px;
color: #919191;
background-color: #232323;
float: left;
}
a, a.visited, a.href {
border: none;
color: #919191;
text-decoration: none;
}
#con {
margin-left: auto;
margin-right: auto;
width: 1000px;
float: left;
}
#img_con {
width: 850px;
margin: 5px;
float: left;
}
#menu {
width: 150px;
float: left;
}
#footer {
height: 15px;
width: 100%;
clear: both;
}
.img {
height: 315px;
width: 215px;
margin: 15px;
outline: 2px solid #086D99;
background-color: #FFFFFF;
}
img {
height: 315px;
width: 215px;
}
Ktoś wie może gdzie jest błąd