Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opes Webs
#10
With the protperty "inline-block"...
Code:
.parent
{
      position:relative; display:block;
      width:300px; height:300px;
}

.child
{
    position:inherit; display:inline-block;
    width:25%; height:100%; /* where width would be 100 / x, x = amount of children
}

Margin, padding and border values if over 0px can give you problems in wraping the boxes over multiple rows...
So you will need to experiment with it, the box-modal removes this downside...
Reply


Messages In This Thread
Opes Webs - by Peter L - 01-15-2012, 08:32 PM
RE: Opes Webs - by AceInfinity - 01-15-2012, 08:35 PM
RE: Opes Webs - by Peter L - 01-15-2012, 08:39 PM
RE: Opes Webs - by .Legacy. - 01-15-2012, 08:35 PM
RE: Opes Webs - by AceInfinity - 01-15-2012, 09:31 PM
RE: Opes Webs - by Gaijin - 01-15-2012, 10:29 PM
RE: Opes Webs - by Peter L - 01-16-2012, 01:31 PM
RE: Opes Webs - by Gaijin - 01-16-2012, 02:32 PM
RE: Opes Webs - by Peter L - 01-16-2012, 02:59 PM
RE: Opes Webs - by Gaijin - 01-16-2012, 03:04 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)