Note that there are some explanatory texts on larger screens.

plurals
  1. PO<script> disturbs bootstrap.css, workarounds?
    text
    copied!<p>I really would like to use twitter-bootstrap, and their scaffolding system with the 12 columns - is there a way to get this working properly with for example ember.js and handlebars.js? I recently ran into trouble, because inserted tags disterb bootstrap.css descriptions like :first-child, my specific situation described below.</p> <p>So question: Is there a way properly avoid disterbing bootstrap.css when working with for example ember and handlebars, including tags?</p> <p>My specific trouble: the <code>&lt;div class="span9"&gt;</code> misses out on the CSS below, because the tag picks it up instead, i think...</p> <pre><code>&lt;!-- Using a handlebars code block helper, {{#if}}, --&gt; &lt;div class="row-fluid show-grid"&gt; {{#if controller.currentItem.isDuo}} &lt;div class="span9"&gt;{{controller.currentItem.text}}&lt;/div&gt; &lt;div class="span3"&gt;{{controller.currentItem.imgText}}&lt;/div&gt; {{/if}} &lt;/div&gt; &lt;!-- Rendered HTML from code above (stripped script tag's attributes for readability) --&gt; &lt;div class="row-fluid show-grid"&gt; &lt;script&gt;&lt;/script&gt; &lt;div class="span9"&gt;&lt;script&gt;&lt;/script&gt;00&lt;script&gt;&lt;/script&gt;&lt;/div&gt; &lt;div class="span3"&gt;&lt;script&gt;&lt;/script&gt;Mask&lt;script&gt;&lt;/script&gt;&lt;/div&gt; &lt;script&gt;&lt;/script&gt; &lt;/div&gt; </code></pre> <p>CSS-code in bootstrap.css, relevant to my situation</p> <pre><code>.row-fluid [class*="span"]:first-child { margin-left: 0; } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload