Using BluePrint on a given DIV Scope

7 views
Skip to first unread message

Jean-Philippe Encausse

unread,
Mar 4, 2011, 9:51:22 AM3/4/11
to Blueprint CSS
Hi,
Sorry if my question is stupid.

Is there a way to scope all BluePrint behavior to a given DIV Wrapper
instead of full page ?

I have to design a template of an Article that will be displayed in a
Portal. I can't change the Portal that is not Grid Compatible. But may
be there is a way to tell is DIV is a Grid Layout ?

Regards,
Jp

Franz Josef Kaiser

unread,
Mar 4, 2011, 4:34:05 PM3/4/11
to Blueprint CSS
Hi,

yes, it's possible. Take a look at the css files (src/grid.css) from
your blueprint folder.

.container {width:950px;margin:0 auto;}

This only means, that your div has to have a width of 950px and will
be centered horizontal. You could change the width of 950px to your
needs with using the compress.rb script. Take a look at Tutorial our
Github Wiki.

Best wishes,
Kaiser.

Christian Montoya

unread,
Mar 6, 2011, 4:44:52 PM3/6/11
to bluepr...@googlegroups.com, Jean-Philippe Encausse

You should be able to just use grid.css and only apply .container /
.span-X to the DIV that should follow the grid layout. It's only the
reset / typography / forms files that will conflict with the whole
page.

--
Christian Montoya
mappdev.com :: christianmontoya.net

Reply all
Reply to author
Forward
0 new messages