Absolute positioning is absolute to its positioned parent.
the .compass container just needs to be centered and then it will be
as you desire. How to center an element on a page is on the 'net.

On Sep 18, 6:28 am, "Jerzy Gangi" <[EMAIL PROTECTED]> wrote:
> Chris,
>
> So I was playing around with this SASS script this morning. The script
> is awesome, and let me get my layout into the browser with minimal
> effort. I changed some of the constants, and bam! it works. Thank you
> so much for taking the time to prep this, it made my life a heck of a
> lot easier.
>
> I am having ONE teeny tiny problem though, which I didn't consider
> until i got all 8 images lined up right in the circle, and I could see
> it in the browser properly. Everything is based on absolute
> positioning. How would I center this circle horizontally and
> vertically in the page?
>
> Thanks for your help. I think I will modify this script to take in N
> parameters, and give it back to you guys. I think I could make N items
> work, as opposed to N where N%4==0. Wouldn't that be cuil?
>
> Thanks for your help! -truchty
>
> On 9/4/08, Chris Eppstein <[EMAIL PROTECTED]> wrote:
>
>
>
> >  It comes as part of the Haml project:
> >  http://haml.hamptoncatlin.com/
>
> >  You'll need the latest code from here to run my script:
> >  http://github.com/nex3/haml
>
> >  Chris
>
> >  On Sep 4, 1:25 pm, "Jerzy Gangi" <[EMAIL PROTECTED]> wrote:
> >  > Chris,
>
> >  > Thanks for your help on this subject. This definitely helps. I
> >  > googled, but what is a sass script? Is there a sass interpreter?
>
> >  > Thanks!
>
> > > On Thu, Sep 4, 2008 at 1:45 PM, Chris Eppstein <[EMAIL PROTECTED]> wrote:
>
> >  > > Any takers? This sass stuff is pretty easy once you try it. Don't be
> >  > > shy. If you get stuck, let me know!
>
> >  > > chris
>
> >  > > On Sep 2, 12:34 am, Chris Eppstein <[EMAIL PROTECTED]> wrote:
> >  > >> This is definitely outside the scope of what blueprint provides. But I
> >  > >> like a good challenge so here ya go:
>
> >  > >> Screen shot:http://www.flickr.com/photos/[EMAIL 
> > PROTECTED]/2820171251/sizes/o/
>
> >  > >> Code:http://gist.github.com/8387
>
> >  > >> Note that the css was generated from a corresponding sass script that
> >  > >> lets you specify the height/width of the boxes so you can customize
> >  > >> the design easily.
>
> >  > >> If you want an oval, I leave it as an exercise to the reader to modify
> >  > >> the sass script to take two parameters (width and height) instead of a
> >  > >> single dimension that results in a circle.
>
> >  > >> Next challenge if anyone wants to take a shot at it:
> >  > >> Layout the numbers of a clock (12 boxes). Extra credit if said script
> >  > >> defines a mixin that takes a parameter that indicates the number of
> >  > >> boxes where the number of boxes is a multiple of 4.
>
> >  > >> Cheers,
> >  > >> Chris
>
> >  > >> On Sep 1, 9:23 pm, truchty <[EMAIL PROTECTED]> wrote:
>
> >  > >> > Hi Guys,
>
> >  > >> > I have a design where I need to place 8 <span>'s in a circle. I'm
> >  > >> > wondering the best way to lay this out, since the grids are all
> >  > >> > vertical & horizontal. I've uploaded a picture to show what I 
> > mean:http://i35.tinypic.com/n32erd.jpg. My question is - is there a way to
> >  > >> > accomplish this in Blueprint? Any guidance, tips, advice etc is
> >  > >> > appreciated, as I'm still discovering the power of Blueprint CSS.
>
> >  > >> > I just wanted to say I've been doing CSS for a few years now, and
> >  > >> > Blueprint looks amazing. I started working with it tonight, and I'm
> >  > >> > really impressed.
>
> >  > >> > Thank you all,
> >  > >> > truchty
--~--~---------~--~----~------------~-------~--~----~
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