Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML Divisions Location
    primarykey
    data
    text
    <p>I was making a new design for my website. I thought that I should make different boxes. All of their <code>borders</code> and <code>backgrounds</code> had to be same, but their <code>heights</code> and <code>widths</code> had to be different. So, I created a css class. </p> <pre><code>.box { background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwNWFmZiIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNWFmZiIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); background: -moz-linear-gradient(left, rgba(0,90,255,0.5) 0%, rgba(0,90,255,0.5) 100%); background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,90,255,0.5)), color-stop(100%,rgba(0,90,255,0.5))); background: -webkit-linear-gradient(left, rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%); background: -o-linear-gradient(left, rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%); background: -ms-linear-gradient(left, rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%); background: linear-gradient(to right, rgba(0,90,255,0.5) 0%,rgba(0,90,255,0.5) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80005aff', endColorstr='#80005aff',GradientType=1 ); border:thick white groove; border-bottom-color:gray; border-right-color:gray; border-top-left-radius:1em; border-bottom-right-radius:1em; } </code></pre> <p><hr/> I put the HTML code in the body as -</p> <pre><code> &lt;body onload="load()"&gt; &lt;center&gt; &lt;div style="width:1120px"&gt; &lt;img src="images/blu-logo.png" style="float:left;"&gt; &lt;div class="box" style="width:900px;height:50px;float:right;margin-top:100px;"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="box" style="width:900px;height:500px;"&gt; &lt;p&gt;Sample text&lt;/p&gt; &lt;/div&gt; &lt;/center&gt; &lt;/body&gt; </code></pre> <p><hr/> I don't know how but something crazy happened when I viewed the file in the browser as the division(<code>&lt;div&gt;</code>) that was supposed to be <strong>below</strong> the other actually went on the same position as the first one.</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.
 

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