I've run into this problem many times as well but have always gone the
nested div route.  I'd be interested to see if the 45k of extra styles
doesn't outweigh nesting the divs that you need.

Also what happens if, for instance, you want a different color border
for different span-3 boxes or different padding?

I wonder if you could use the pull/push classes to realign things back
to the grid and then add a few custom push/pulls for specific cases so
it would look like :

|   padded, boxed, span-6, custom-pushB   |   padded, boxed, span-6,
custom-pushA   |   span-11 (because the custom pushes together eat 1
column) , last   |

On Aug 29, 2:14 am, simonok <[email protected]> wrote:
> I think this is a great idea, the one gripe I have is being stuck with
> 10 pixel space between columns, you might want 10, or 20, or 30 all in
> the same layout, I tend to just add more styles hacking the layout to
> accommodate my borders etc and or using nested divs.
>
> I would be interested in your generator.
>
> ss
>
> On Aug 18, 7:21 pm, da <[email protected]> wrote:
>
> > > This is not a bad idea. It's a bit more bloated than what core
> > > Blueprint would want, but could be very useful for a lot of people as
> > > a plugin.
>
> > Well, I went a head as a POC and came up with a javascript tool to
> > generate the CSS to allow for creating padded and/or bordered parent
> > containers where the nested divs are then re-adjusted to continue on
> > with the standard grid.
>
> > It works.
>
> > The drawback is that it's an extra 1000 lines of CSS. ;)
>
> > But, even uncompressed it's 'only' 45kb. Big, but given that it's more
> > web-application centric, I think between compression and caching, it
> > might not be a big deal.
>
> > Once I have it tweaked a bit more, I'll try and push out a public
> > version of the generator to get comments from people. Maybe it'll be
> > plug-in worthy.
>
> > -DA
--~--~---------~--~----~------------~-------~--~----~
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