On Tuesday, June 22, 2010 9:36:10 pm Jay Tanna wrote:
> This message was sent to the list but got lost in the system!!!  Gremlin
> again?
> 
> --- On Wed, 23/6/10, Jay Tanna <[email protected]> wrote:
> > No you can't center the three boxes
> > of size 25% because the total width is only 75%  So I
> > suggest change your css as follows:
> > 

I revise my answer from before...

Since you've set percentage widths on your boxes, you'll need:

<div id="container">
  <div id="column_container">
   <3 floated divs>
  </div>
</div>

And then:

#column_container {
  width: 75%;
  margin: 0 auto;
}

3 floated divs {
  width: 33%; /* since they have a new parent */
}

---Tim
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to