Note that there are some explanatory texts on larger screens.

plurals
  1. POBootstrap 3 Hyperlink does not work cause of grid system
    primarykey
    data
    text
    <p>I am using bootstrap 3.0.2 and i am a little bit confused cause of the grid system. I think i understand the grid system, but i'm not sure if this is a bug in bootstrap or if i am using it in the wrong way. Here is my code:</p> <pre><code>&lt;table class="table table-striped"&gt; &lt;tr&gt; &lt;td&gt; &lt;!-- if medium or large, then print this in one line --&gt; &lt;div class="col-xs-12 col-sm-6 col-md-6"&gt;&lt;a href="pseudo-link"&gt;text&lt;/a&gt;&lt;/div&gt; &lt;div class="col-xs-12 col-sm-6 col-md-3"&gt;any text&lt;/div&gt; &lt;div class="col-xs-4 col-sm-4 col-md-1"&gt;info1&lt;/div&gt; &lt;div class="col-xs-4 col-sm-4 col-md-1"&gt;info2&lt;/div&gt; &lt;div class="col-xs-4 col-sm-4 col-md-1"&gt;info3&lt;/div&gt; &lt;!-- end of first line if medium or large --&gt; &lt;div class="col-xs-12"&gt;text1 whole line&lt;/div&gt;&lt;!-- Always one line --&gt; &lt;div class="col-xs-12"&gt;text2 whole line&lt;/div&gt;&lt;!-- Always one line --&gt; &lt;/td&gt; &lt;/tr&gt; ... &lt;/table&gt; </code></pre> <p>The problem here is the hyperlink - the browser does not handle it like a hyperlink, when screen width has the size large(col-lg), medium(col-md) or small(col-sm). But the hyperlink works fine, if screen width is extra small(col-xs). I've analyzed this with Firebug and it seems, that the first two lines are put together, like one div (except screen width extra small).</p> <p>With a little trick i can fix this, but it's just a dirty hack. If the screen width is greater than extra small, i don't give the second line the complete space:</p> <pre><code> &lt;div class="col-xs-12 col-sm-11"&gt;text1 whole line&lt;/div&gt;&lt;!-- Always one line --&gt; </code></pre> <p>Now it works as expected but i think it should work without this trick, too. Is my code wrong?</p> <p>For clarification i have written an example: <a href="http://www.overnumerousness.de/hyperlink_issue.html" rel="nofollow">hyperlink_issue</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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