Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Because the div with id='master' has the position style set to fixed, it will be displayed in a fixed position relative to the browser window. In order to move the content that it displayed "below" it, you should set </p> <pre><code>style="margin-top:75px" </code></pre> <p>to the element/container that follows this div. This will push it down from behind the master div so that it is not overlapped.</p> <p>Example:</p> <pre><code>&lt;div style="margin-top:75px"&gt; @RenderBody() @RenderSection("scripts", required: false) &lt;/div&gt; </code></pre> <p>SECOND OPTION: You may also want to consider setting</p> <pre><code>position:relative </code></pre> <p>instead of</p> <pre><code>position:absolute </code></pre> <p>UPDATE (see comment below):</p> <p>Try setting the position of the sub-header (script section) div to fixed, just like the main header section, then set the 'top' property to 75px. This will lock it to the base of the main header:</p> <pre><code>&lt;div style="position:fixed; top:75px;"&gt; @RenderBody() @RenderSection("scripts", required: false) &lt;/div&gt; </code></pre> <p>UPDATE 2: Set this style on both the header and the body. First this will hide content that would normally be visible behind the header buttons. Second, this will lock the backgrounds of both containers together so scrolling won't cause a seam to appear between them. This gives the effect of the central content disappearing when it reaches the lower edge of the header.</p> <pre><code>background: url("/Content/images/background.png") repeat fixed 0% 0% transparent; </code></pre>
    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.
 

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