I have a page that has rows and columns of divs within a main div and am trying to align them to centre if the divs do not fill the line
example here
the main div css is as follows
and the internal div for each element is this
i have tried everything i know but all i can get is a long list of single elemnts under one another??
any help would be appreciated
example here
the main div css is as follows
Code:
#artists { float: left; height: 615px; width: 840px; overflow:auto; overflow-x:hidden; overflow-y: auto; top: 180px; /* [disabled]background-color: #FFF; */ padding: 5px; }
Code:
.artistboys { /*border: 1px solid #f39617;*/ width: 85px; height: 130px; margin-top: 7px; margin-right: 7px; margin-bottom: 7px; margin-left: 7px; padding-top: 10px; text-align: center; }
any help would be appreciated
Comment