So if there are any span-x classes inside that box class then I would
have to subtract one from it right? like so:
<div class="span-5">
<div class="box">
<div class="span-4"> <!-- has to be 4, not 5 because of extra
padding added by box -->
...
</div>
</div>
</div>
On Jul 23, 5:07 am, adster <[email protected]> wrote:
> Hi,
>
> Probably what you need to do is to add a inner div like so:
>
> <div class="span-5">
> <div class="box">
> </div>
> </div>
>
> that way any extra borders, padding etc get applied to the inner div
> and not the grid defining div.
>
> I suppose another approach would be to recalculate the grid settings
> and incorporate any extra padding or borders into the grid classes
> themselves. Would that also work?
>
> On Jul 22, 7:00 pm, SiVA_ <[email protected]> wrote:
>
> > Hi,
>
> > Why is it that when I add ".box" class to one of my grid columns it
> > causes the layout to break? I have to decrease the span number of the
> > corresponding column by one in order to accommodate the "box" class.
> > Is that normal?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---