The .border-right class would interfere with .span-xx classes. I also question the utility of such classes when the width and color are both pre-determined. I'm also pretty sure that it will not work as expected with .prepend-xx and .append-xx because those use padding and so your border will be outside the prepended/appended columns.
Regarding OOCSS, I wasn't suggesting that you change from blueprint, but rather learn from the concepts which are there to adapt to the strange box-model interactions like this one. OOCSS is less of a framework like blueprint, and more of an "approach". In short: if you want composable classes, you need more markup to address the "skin" of your columns (until box-sizing is broadly adopted by the browsers). chris On Thu, Feb 11, 2010 at 7:36 AM, kaiser <[email protected]> wrote: > As i said above: adding a border like this in your custom css keeps > your framework from beeing "hacky": > > .borders { > border: 1px solid #eee; > margin: -1px; > } > .border-top { > border-top: 1px solid #eee; > margin-top: -1px; > } > .border-right { > border-right: 1px solid #eee; > margin-right: -1px; > } > .border-bottom { > border-bottom: 1px solid #eee; > margin-bottom: -1px; > } > .border-left { > border-left: 1px solid #eee; > margin-left: -1px; > } > > This matches .border and .colborder too. > > Regards, K. > P.s.: I would suggest to add this to blueprint in the next version. > You should change hr from #ddd to #eee too, to make the greys match > better. > > Pps.: OOCSS is a really good and nice, but in some parts pretty > overdone sollution for FLUID grids only. So it´s no competant to > blueprint. (But thanks for pointing me on that.) > > -- > 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]<blueprintcss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/blueprintcss?hl=en. > > -- 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.
