Note that there are some explanatory texts on larger screens.

plurals
  1. POEverything moves in website when changed from full screen mode on desktop screen
    primarykey
    data
    text
    <p>Right now my code for my screen looks perfect, but for some reason everytime I change to browser size from full screen to a smaller window all my nav bar moves underneath eachother under the header div and other things as well. If I was to add things in the footer as well how can I set it up so that the page stays the same no matter how you resize it. I don't mind if its fixed on only a full screen mode.</p> <p>Another issue is that when I asked a friend to check the websites on his laptop it was all messed up because of screen resolution I think, but when I saw it on my monitor it looked completely fine. So I am confused and have no idea how to fix this issue. I have researched as much as I can, but everything I tried didn't work.</p> <p>So all I am trying to do is make sure that the website is fixed and is only viewable in full screen. If I resize it to smaller then you can't see parts of the page and that's all.</p> <p>If you could please help me that would be great! </p> <p><a href="http://jsfiddle.net/thNRs/" rel="nofollow">http://jsfiddle.net/thNRs/</a> ---------------->JSFIDDLE DEMO. You can see the problem right away using this.</p> <p>HTML CODE:</p> <pre><code>&lt;body&gt; &lt;div id="page"&gt; &lt;div id="header"&gt; &lt;a href="http://wireless.fm.intel.com/test/index.php"&gt;&lt;img src="http://wireless.fm.intel.com/test/logo2.png" border=0&gt;&lt;/a&gt; &lt;h2&gt;&lt;a href="http://moss.ger.ith.intel.com/sites/MWG-IS/Pages/Default.aspx" border=0&gt;Mobility Group&lt;/a&gt;&lt;/h2&gt; &lt;div id="navigation"&gt; &lt;a href="#"&gt;About&lt;/a&gt; &lt;a href="#"&gt;Reports&lt;/a&gt; &lt;a href="#"&gt;Documents&lt;/a&gt; &lt;a href="#"&gt;Checklists&lt;/a&gt; &lt;a href="#"&gt;License Tools&lt;/a&gt; &lt;a href="#"&gt;Presentations&lt;/a&gt; &lt;a href="#"&gt;Software Releases&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="main"&gt;&lt;/div&gt; &lt;div id="footer"&gt; &lt;!--&lt;h4&gt;WNG Product Development Engineering (US)&lt;/h4&gt; &lt;a href="https://employeeportal.intel.com/irj/portal"&gt;Circuit&lt;/a&gt; &lt;a href="#"&gt;Contact Us&lt;/a&gt;--&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>CSS CODE:</p> <pre><code>html, body { padding:0; margin:0; height:100%; } #page { min-height:100%; position:relative; height:100%; } #header { background-color:#115EA2; height:100px; width:97.5; position:relative; } #main { width:1300px; margin-left:auto; margin-right:auto; background-color:#F1F2F3; min-height:90%; height:auto; height:89%; margin:0 auto -50px; vertical-align:bottom; } #footer { position:fixed; width:100%; bottom:0; height:35px; background-color: #115EA2; } #header img { float:left; display:inline; } #header h2 { text-align:center; font-size:44px; color:#FFFFFF; left:0px; top:20px; font-weight:bold; font-family: Sans-serif; float:left; margin-top:20px; margin-left:20px; text-decoration:none; } #header h2, a, a:visited, a:hover, a:active { color: #FFFFFF; text-decoration: none; } /*#footer h4 { left:20px; top:-10px; position:relative; text-align:left; font-weight:bold; font-family: Sans-serif; float:left; color:#fff; margin-left:20px; } #footer a, a:visited, a:hover, a:active { color::#fff; text-decoration:none; position:relative; left:1025px; top:10px; text-align:left; font-weight:bold; font-family:Sans-serif; float:left; margin-left:20px; }*/ /* NAVIGATION BAR CODE */ #navigation { position:absolute; top:60; left:500; right:0; bottom:0; width:60%; height:24px; background-color:#115EA2; min-width:100px; text-align:center; padding:10px 20px; } #navigation a { font-size:20px; font-weight:bold; font-style:Sans-serif; margin:10px 0; height:18px; padding:12px 10px; color:#FFF; text-decoration:none; } #navigation a:hover { background-color:#333; } </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.
    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