Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to auto resize img group with browser change size?
    primarykey
    data
    text
    <p>How to auto resize img group with browser change size?</p> <p>I almost finish it in css, but now I can't set overflow:hidden let the 5th or 6th.. picture hide.<br> <p><br></p> <p>(img from php)<br> (I will connect jQuery plugin <a href="http://www.convergent-evolution.co.uk/resources/jquery-plugins/scrolling-carousel/" rel="nofollow">scrolling-carousel</a>.) <p> Any suggestion i'd really appreciate you taking the time. <p><br> Here is my <a href="http://jsfiddle.net/uSHbc/1/" rel="nofollow">http://jsfiddle.net/uSHbc/1/</a> <br> HTML</p> <pre><code>&lt;div class="conimgwrap2"&gt; &lt;div class="conimgwrap"&gt; &lt;div class="conimg"&gt; &lt;div&gt; &lt;img src="http://fancyapps.com/fancybox/demo/2_s.jpg"&gt; &lt;/div&gt; &lt;div&gt; &lt;img src="http://fancyapps.com/fancybox/demo/2_s.jpg"&gt; &lt;/div&gt; &lt;div&gt; &lt;img src="http://fancyapps.com/fancybox/demo/2_s.jpg"&gt; &lt;/div&gt; &lt;div&gt; &lt;img src="http://fancyapps.com/fancybox/demo/2_s.jpg"&gt; &lt;/div&gt; &lt;div&gt; &lt;img src="http://fancyapps.com/fancybox/demo/2_s.jpg"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;​ </code></pre> <p>CSS</p> <pre><code>.conimgwrap2{ position: relative; left: 50%; width: 50%; } .conimgwrap{ position: absolute; width: 25%; height: 25%; } .conimg{ max-width: 100%; max-height: 100%; background-color: yellow; display: inline; white-space: nowrap; } .conimg div{ display: inline; white-space: nowrap; } .conimg img{ max-width: 100%; max-height: 100%; }​ </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