Re: [ruby-99] Blueprint CSS -- I feel like I'm missing something...

From: Matthew P.
Sent on: Wednesday, July 14, 2010 11:47 AM
Hi Steve - You are doing it right.  It is difficult create a css framework and use semantic markup.  For blueprint, you can do it, but you need to "compile" your css using the settings.yml and compress.rb script in the lib directory.  Compass tries to address this.

mp

On Jul 14, 2010, at 10:43 AM, Steven Chanin wrote:

> I was wondering if anyone out there had used Blueprint (the grid based CSS framework) and could talk about why they did / didn't like it.  I'm trying it out on a new project and I feel like I must be missing something.  
> 
> I'm ending up with markup that is *full* of .span-7, .span-6.last, etc, etc.  On the one hand, it's a pretty fast way to control what goes where.  On the other hand, it seems like it is hardcoding the appearance of the site into the markup, which is what I thought was a big part of why we want CSS separate from HTML in the first place.
> 
> Under Blueprint, I'm doing 
> 	class = "span-5"
> 
> seems a little nicer than having
> 	style = "width: 200px; float: left;"
> 
> directly embedded in an element, but not a whole lot different and not at all semantic.
> 
> Before trying blueprint I would have written something more like
> 
> 	<div class="sub_nav">
> 		...
> 
> and then in the CSS, would have controlled how big the sub-nav was, where it landed, etc.  That was a pain in the butt sometimes, but at least it seemed like I was doing things the "right" way.
> 
> I've tried to track down blueprint based sites on the web to read their markup and see what they are doing, but the few I've been able to find (& the tutorials linked to from Blueprint) seem to have the .span-X stuff all over just like my code does.
> 
> Any insights would be appreciated.
> 
> Thanks,
> Steve
> 
> ____________________­_
> Steven Chanin
> [address removed]
> (415)[masked]
> 
> 
> 
> 
> 
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
> http://www.meetup...­
> This message was sent by Steven Chanin ([address removed]) from Silicon Valley Ruby Meetup.
> To learn more about Steven Chanin, visit his/her member profile: http://www.meetup...­
> To unsubscribe or to update your mailing list settings, click here: http://www.meetup...­
> Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]
> 

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy