Well, the span class stand-alone is used to assign width without adding float. This is very useful on tables where you need alignment to your columns.
I think it would be better to define .column-XX classes that means to have the span width plus the float & margins. This is how I've defined mixins for the sass version ;-) But I still map them to span and div.span so as to be backwards compatible. http://github.com/chriseppstein/compass/tree/master/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass Chris On Sep 4, 12:19 pm, "Christian Montoya" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 3:10 PM, PaulB <[EMAIL PROTECTED]> wrote: > > > Hi > > > why does BP code uses a div specifically to float:left in the span-x > > code? > > > the code from BP is: > > > div.span-1...div.span-24 {float:left;margin-right:10px;} > > > this means you can't use span-x on a none div element. > > for example: > > > <h1 id="a" class="span-6">h1</h1> > > Good catch... seems that it would be easier to just take out the > "div." and add "display:block" > > At least, that's my vote. Other thoughts? > > -- > -- > Christian Montoya > christianmontoya.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
