son Posted November 5, 2009 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
Archived
This topic is now archived and is closed to further replies.