So I have div within the container class. How do I center the div, so that it properly adds empty space equally to both sides, depending on the width of the div?
<body>
<div class="container">
... other stuff ...
<div>center me</div>
</div>
</body>
Normally you know the width of the page in span units because you define them when you build your blueprint-css file... so you could do something like this... "span-x" is the width of the segment or page in span units... "left" floats left, and "right" floats right... the two cancel and center the div.