i try make my site compatible with all stadanrt devices and when i litle work but my proble is images is still large small screen how can i do it automatical resize in small screen, such they are in diferent class diferent div ... here is my css
@media only screen
/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* Styles */
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-color: #F8F8F8;
width: 100%
color: #000;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
margin-top: 15;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
.container {
width: 100%
max-width: 1550px;
background-color: #FFFFFF;
margin-bottom: 0;
padding-left: 10px;
padding-right: 10px;
}
.sidebar1 {
float: left;
width:100%;
max-width: 180px;
background-color: #EADCAE;
padding-bottom: 10px;
}
.content {
float: left;
width:100%;
max-width: 968px;
padding-top: 10px;
padding-right: 0;
padding-bottom: 10px;
padding-left: 0;
}
.sidebar2 {
float: left;
width:100%;
max-width: 180px;
background-color: #EADCAE;
padding: 10px 0;
}
}
/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-color: #000;
color: #000;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
margin-top: 15;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
.container {
width: 100%;
max-width: 758px;
background-color: #FFFFFF;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
}
.sidebar1 {
float: left;
width:100%;
max-width: 70px;
background-color: #EADCAE;
padding-bottom: 10px;
}
.content {
float: left;
width:100%;
max-width: 380px;
padding-top: 10px;
padding-right: 0;
padding-bottom: 10px;
padding-left: 0;
}
.sidebar2 {
float: left;
width:100%;
max-width: 70px;
background-color: #EADCAE;
padding: 10px 0;
}
}