I have one div wrapping another like so
<div id="container"><div id="box"></div></div>
Let's say the container has a dimension 100px by 100px. I want to box to have 0px height and 0px width. However, I want the left border of the box to fill up 50% of the container, and the right border of the box to fill up the the other 50% of the container.
How do I do this with css?
See Question&Answers more detail:os