son Posted November 5, 2009 Report Share Posted November 5, 2009 I have a main div (.finish) inside a 900px container which containers left-floated div. The relevant css is: {width:auto; height:auto; margin:0 auto;}.finish div {float:left;text-align:center;padding:10px; margin:15px; }.finish img {border:#625a29 1px solid; padding:1px;}.finish h3 { font-size:90%;margin:0 0 10px 0;} My problem is that I want to have all content center-aligned. The left-floating aligns all to the left (inside the div text and image is also aligned to center), but I need it to have several divs next to each other.Is there anyother way to display the content?Son Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now