Ah, ok, that was not at all obvious to me, though in retrospect makes
sense.  I updated the quick start page on the GitHub wiki to reflect
this.  Thanks for helping me sort it out!

Dave

On Tue, Feb 24, 2009 at 3:47 AM, Goulven CHAMPENOIS <[email protected]> wrote:
> The reason for class "last" is because of column gutters.
>
> Every column is 30px wide, plus 10px of right margin. Now if you add all
> this, you get 960px instead of 950px.
> A div span-24 has margin-right: 0 (which yields 950px), but if you build a
> row with span-20 and a span-4 (for instance), they add up to (790+10)
> +(150+10) = 960px. The grid being 950px wide, the last div would not have
> room enough and drop below.
> If you add class "last", the margin of the last div is removed and (790+10)
> +(150) = 950px.
>
> To sum it up:
> Add class "last" last span-X of a row IF the columns total is 24.
> Start a new row using a span-24.
>
>> >>>> What is going on here?  My understanding was that the "last" class
>> >>>> was
>> >>>> used to finish out a row.  It rarely does.  If I add the "clear"
>> >>>> class, things get more messed up, but a <br clear="all" /> seems to
>> >>>> set things right.  What is going on?
>
> --
> Goulven Champenois
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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