#105 open
KKF

Semantic classes and comperss.rb

Reported by KKF | January 8th, 2010 @ 07:49 AM

I have a problem on a site that I work on. I try to use the script compress.rb to make semantic classes. (I whant to use blueprint together with Thematic (wordpress theme)). Everytihng works fine. But my problem is that I whant the id = main to be the container that blueprint shall use, but main get a height of 0 px.

I have made an example to show what happens.

<div id="main">
  <div class="span-8">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-8">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-8 last">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 append-1">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 append-2">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 append-3 last">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 prepend-1">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 prepend-2">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
  <div class="span-6 prepend-3 last">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
  </div>
</div>

And have this code in settings.yml

project2:
path: /Users/kristoffer/Sites/wordpress/test/css/blueprint semantic_classes:

"#main": "container showgrid"

Whith this I i do not se the background gird, and the height of main is 0px.

but if i use

<div class="container showgrid">

...

</div>

everything is fine, but the only diffrent is that now the hight is customized to the content inside.

So I wounder should not "#main": "container showgrid" give the same result as class="container showgrid"?

(Sorry for my bad english, I'm from Norway. But I hope you understand me.)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Blueprint CSS framework

People watching this ticket

Pages