num_col * (col_width + gutter_width) - gutter_width
chris

On Thu, Dec 11, 2008 at 7:17 AM, Bluenewbie <[EMAIL PROTECTED]> wrote:

>
> I have a related question. Is there a formula to calculate
> the column width using the total width, number of
> columns and the margin? I don't see any updated grid generator
> that can use different container width. If there's a formula, it would
> be easy to make one with javascript or php.
>
> Jay
>
>
>
> On Dec 10, 12:27 pm, Mirko <[EMAIL PROTECTED]> wrote:
> > Oops... For some reason I thought I was on the Compass mailing list.
> > Will repost my question there.
> >
> > Sorry for the spam, everyone.
> >
> > -Mirko
> >
> > On Dec 9, 8:09 pm, Chris Eppstein <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Mirko,
> >
> > > Please use the compass mailing list for help with compass issues:
> http://groups.google.com/group/compass-users
> >
> > > I will be happy to reply to your email there so the whole compass
> > > community can learn from the thread.
> >
> > > Chris
> >
> > > On Dec 9, 6:30 pm, Mirko <[EMAIL PROTECTED]> wrote:
> >
> > > > Hi,
> >
> > > > I am using Compass with Blueprint. Everything works great with the
> > > > default grid, but I would like to use a narrower layout with fewer
> > > > columns (for example 20 columns instead of 24). I have tried changing
> > > > what appear to be the relevant constants (see below for the sass
> > > > code), with no luck. The overall body width still appears to be 24
> > > > columns * 40 - 10. Does anybody know what I might be doing wrong?
> >
> > > > Sass Code:
> >
> > > > // Grid size
> > > > !blueprint_grid_columns = 20
> > > > !blueprint_grid_width = 30px
> > > > !blueprint_grid_margin = 10px
> > > > !blueprint_grid_outer_width = !blueprint_grid_width + !
> > > > blueprint_grid_margin
> > > > !blueprint_container_size = !blueprint_grid_outer_width * !
> > > > blueprint_grid_columns - !blueprint_grid_margin
> >
> > > > body.blueprint
> > > >   +blueprint-typography
> > > >   // Remove the scaffolding when you're ready to start doing visual
> > > > design.
> > > >   // Or leave it in if you're happy with how blueprint looks out-of-
> > > > the-box
> > > >   +blueprint-scaffolding
> > > >   .container
> > > >     +container
> >
> > > > ...
> >
> > > > Thanks!
> >
> > > > -Mirko
> >
>

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