Note that there are some explanatory texts on larger screens.

plurals
  1. POBootstrap 3 grid display issue
    primarykey
    data
    text
    <p>Well the first thing to tell is that I am a newbie in web programming so I might have an easy issue for you all or not.</p> <p>The thing is that I am trying to put 2 elements one next to the other using the following structure based on the well-known grid system of Bootstrap3:</p> <pre><code>&lt;div class="container presentation"&gt; &lt;div class="row"&gt; &lt;div class="col-lg-6 stitched"&gt; &lt;/div&gt; &lt;div class="col-lg-6 stitched"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>The <em>stitched</em> class you see is a CSS effect found on the internet that makes the element look like it's really stitched. The CSS code is the following:</p> <pre><code>.stitched{ padding: 20px; margin: 10px; background: #ff0030; color: #fff; /*font-size: 21px;*/ /*font-weight: bold;*/ line-height: 1.3em; border: 2px dashed #fff; border-radius: 10px; box-shadow: 0 0 0 4px #ff0030, 2px 1px 3px 4px rgba(10, 10, 0, 0.5); text-shadow: -1px -1px #aa3030; /*font-weight: normal;*/ } </code></pre> <p>So the problem is this. When I see the page, those both elements aren't one next to the other, in fact, the second div is under the first and there is no way to display both divs inline. Only when I remove the <em>margin</em> property from the CSS I manage to display both one next to the other, however they look horrible since they overlap. Does anyone understand why is this happening? And of course anyone knows how can I display both elements inline without making them overlap? </p> <p>Thanks. (I'll provide pics if necessary)</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.
    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