Note that there are some explanatory texts on larger screens.

plurals
  1. POStyling problems using CSS
    primarykey
    data
    text
    <p><a href="http://jsfiddle.net/AmKHx/" rel="nofollow">http://jsfiddle.net/AmKHx/</a></p> <p>Hello all,</p> <p>I linked my code on the top. My main problem is that I have my header, content and footer perfectly set that works with all websites. It does not have a scrolling feature or anything. Everytime I try to add the Intel Logo to the screen. It does what it is up there. I move it around and tweek it and then it works for one browser and not the other... It keeps changing. I want the logo to stick to the left perfectly along with the header I made with CSS. Also I want the Mobility Group Text at that height right next to the logo, but for some reason it always messes up my header content and footer as well when I paly with it. So pretty much I want The Logo on first then Mobility Group Right next to itand make it very smooth! </p> <p>Also I have just learned html css and php and if you guys see something in my code that could be done smarter please let me know. I need critical feedback so that I can progress in learning these new languages better so that I can succeed in this field of programming!</p> <p>Thank you in advance for all the input and advice!!</p> <p>HTML CODE: </p> <p></p> <pre><code>&lt;div id="page"&gt; &lt;div id="header"&gt; &lt;h1&gt;&lt;img src="http://wireless.fm.intel.com/test/logo2.png"&gt; &lt;h2&gt;Mobility Group&lt;/h2&gt; &lt;/div&gt; &lt;div id="main"&gt;&lt;/div&gt; &lt;div id="footer"&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; } #main { width:1300px; margin-left:auto; margin-right:auto; background-color:#F1F2F3; min-height:87%; height:auto; height:87%; margin:0 auto -50px; vertical-align:bottom; } #footer { Position:fixed; Width:100%; Bottom:0; Height:50px; background-color: #115EA2; } #header h1 { position:absolute; text-align:left; left:0px; top:0px; } #header h2 { text-align:center; font-size:44px; color:#FFFFFF; left:0px; top:20px; font-weight:bold; } </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