Home › Forums › CSS › Center images side by side in Div › Re: Center images side by side in Div
February 21, 2010 at 1:30 pm
#71286
eip56
Member
A possible solution would be to place the images div within another div then do the margin: 0 auto; Not sure exactly understand the outcome you want a link to a test page would be helpful but this is what it might look like:
Code:
The css would like something like this:
Code:
#container #banner {
margin: 0 auto;
}
margin: 0 auto;
}
#container #banner img {
float: left;
/* Then add individual styles for the images */
That would probably get the outcome your looking for.