Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2>Working Prototype</h2> <p>The following might be a way of achieving this design:</p> <p>The <strong>HTML</strong> could be:</p> <pre class="lang-html prettyprint-override"><code>&lt;div class="header" id="header"&gt; &lt;img src="http://placekitten.com/500/20" width="435" height="30" class="pageName"&gt; &lt;!--margin-top: 72px;--&gt; &lt;!--menu. Last item in line is 1st--&gt; &lt;div class="nav-wrap"&gt; &lt;img src="http://placekitten.com/100/10" width="68" height="10" class="menu" &gt; &lt;img src="http://placekitten.com/100/10" width="68" height="10" class="menu" &gt; &lt;img src="http://placekitten.com/100/10" width="68" height="10" class="menu" &gt; &lt;img src="http://placekitten.com/100/10" width="68" height="10" class="menu" &gt; &lt;img src="http://placekitten.com/100/10" width="68" height="10" class="menu" &gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>I would wrap the menu/images in a wrapper and then absolutely position it with respect to the parent container <code>.header</code> using the <strong>CSS</strong>:</p> <pre class="lang-css prettyprint-override"><code>.menu { float:right; margin-top: 0px; /* adjusted by JS later so menu items have certain margin-top*/ padding:8px; padding-top:10px; padding-bottom:10px; cursor:pointer } .header { background-color:#181818; min-height: 114px; height:10%; position: relative; min-width: 960px; } .nav-wrap { overflow: auto; position: absolute; right: 0; bottom: 0; display: inline-block; } .pageName { position: absolute; left: 10px; bottom: 10px; } </code></pre> <p>You can float the images either left or right or use inline-blocks</p> <p>If you want the <code>.nav-wrap</code> to shrink to fit the menu items, use <code>inline-block</code>, else <code>block</code> will also work.</p> <p>For <code>.pageName</code>, I would pin it to the bottom left corner, add some offsets if needed.</p> <p>I would also give <code>.header</code> a min-width value to make sure that the various images don't overlap when you shrink the window size.</p> <p>Demo fiddle: <a href="http://jsfiddle.net/audetwebdesign/vN3RQ/" rel="nofollow">http://jsfiddle.net/audetwebdesign/vN3RQ/</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.
    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