Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I make images stack on top of each other as web page scales down?
    primarykey
    data
    text
    <p>Basically there are two images that are supposed to be on the center of the page and when the page is made smaller those images need to stack vertically. Currently I can get them to scale vertically, but I don't know how to center them. If I use margins or padding they stay in their position when the page is shrunk and don't look very good. I need them to move towards the edge as the page is being shrunk and then stack once the width of the page is too small. I'm doing this so they display properly on mobile and smaller resolutions. Does anyone know the best way to do this? </p> <p>Here is the html:</p> <pre><code>&lt;body&gt; &lt;div class="wrapper"&gt; &lt;div class="wordmark"&gt; &lt;a href="#"&gt; &lt;img src="........." /&gt; &lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="logowrap"&gt; &lt;div class="row"&gt; &lt;ul class="thumbnails"&gt; &lt;div class="logo1"&gt; &lt;li class="span6 home-left"&gt; &lt;a href="#"&gt; &lt;img src="SDI-logo.png" alt="SDI-logo" /&gt; &lt;/a&gt; &lt;/li&gt; &lt;/div&gt; &lt;div class="logo2"&gt; &lt;li class="span6 home-right"&gt; &lt;a href="#"&gt; &lt;img src="Debate-Logo.png" alt="SDI-logo" /&gt; &lt;/a&gt; &lt;/li&gt; &lt;/div&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>Here is the CSS:</p> <pre><code>.navbar { background-color:#000; } .container{ background-color:transparent; } .wrapper { background-color:#000; } .wordmark{ max-width:100%; max-height:100%; padding-left:15px; } .logo1{ float:left; .logo2 { float:inherit; } .logowrap{ } </code></pre>
    singulars
    1. This table or related slice is empty.
    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