body{
width:auto;
color:white;
font-size:15px;
width:100%;
max-width:1980px;
min-width:334px;
margin:0px auto;
}
This is my code. I need thumbnails to be in the center for all screen resolutions. But I can't do it. I even tried tag. It didn't work either. What should I do?
see this url : http://jsfiddle.net/DyRS4/2/
html:
<div id="my-div">my div</div>
css:
div#my-div{
margin:0px auto;
background: red;
width: 100px;
height: 100px;
}