Blueprint doesn't have a way of doing this out of the box. You'll have  
to add your own padding on the left and right to achieve a centered  
appearance.

If you were using my framework called "compass" then you could do it  
like so:

@import blueprint/modules/grid.sass
div#foo
   +span(21, last)
   +prepend(1.5)
   +append(1.5)

More about compass at: http://github.com/chriseppstein/compass/


Chris

Hunt & pecked on my iPhone... Sorry if it's brief!

On Dec 4, 2008, at 9:38 AM, tangfucius <[EMAIL PROTECTED]> wrote:

>
> yeah that works, but only for span-20 and a certain set of span
> width.  what about wanting to center align a span-21 inside of a
> span-24?  Is there a way to center without using prepend and append
> columns?
>
> On Dec 3, 6:17 pm, Rasal Postill <[EMAIL PROTECTED]> wrote:
>> On Wed, 3 Dec 2008 15:29:16 -0800 (PST), tangfucius wrote:
>>
>> |
>> | say I have a span-20 div that I want to center inside of a span-24
>> | div, how can I do that?  I've tried margin: 0 auto, but it doesn't
>> | seem to work?
>>
>> <div class="span-24">
>>   <div class="prepend-2 span-20 append-2 last>
>>   </div>
>> </div>
>> --
>> Rasal Postill
>> Dance your Life - Biodanza in Holland - <http://www.danceyourlife.eu>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Blueprint CSS" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/blueprintcss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to