Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing CSS for text and images that grow and shrink with page
    primarykey
    data
    text
    <p>Ideally, the text and images (except the buttons at the bottom) would grow/shrink with page re-size and stay in alignment but then stop shrinking at some % of it's original size. Say 30%. I am open to using CSS or jQuery or both. </p> <p>What is the best/cleanest method to do this?</p> <p>See my code at: <a href="http://jsfiddle.net/ZZCMV/" rel="nofollow">http://jsfiddle.net/ZZCMV/</a></p> <p>OR:</p> <p>HTML:</p> <pre><code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body id="page_welcome"&gt; &lt;div class="wrapper"&gt; &lt;div class="main"&gt; &lt;div class="logo"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/logo.png"&gt;&lt;/div&gt; &lt;div class="tagline"&gt; &lt;div&gt;The best thing to happen to Twitter since Twitter&lt;/div&gt; &lt;/div&gt; &lt;div class="footer"&gt; &lt;div class="download"&gt; &lt;div&gt;Over 10 million users! Get TweetCaster FREE:&lt;/div&gt; &lt;/div&gt; &lt;ul class="devices"&gt; &lt;li&gt;&lt;a href="https://play.google.com/store/apps/details?id=com.handmark.tweetcaster&amp;referrer=utm_source%3DTCwebsite%26utm_medium%3Dweb%26utm_campaign%3DTCwebsite" target="_blank"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/play_store.png" alt="TweetCaster for Android"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://itunes.apple.com/us/app/tweetcaster-for-twitter/id420792544?mt=8" target="_blank"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/app_store.png" alt="TweetCaster for iPhone and iPad"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/login" id="web"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/web.png" alt="TweetCaster web app"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt; &lt;button id="dropdown_button" class="menu_button"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/more.png" alt="More" &gt;&lt;/button&gt; &lt;/li&gt; &lt;/ul&gt; &lt;div class="links"&gt; &lt;a href="http://tweetcaster.uservoice.com/forums/183240-tweetcaster-web" class="feedback" target="_blank"&gt;Feedback&lt;/a&gt; &amp;#169; &lt;a href="http://onelouder.com" target="_blank"&gt;Onelouder&lt;/a&gt; &lt;a href="http://tweetcaster.com/privacy" target="_blank"&gt;Privacy&lt;/a&gt; &lt;a href="http://onelouder.com/#terms" target="_blank"&gt;Terms&lt;/a&gt; &lt;a href="http://onelouder.com/#about" target="_blank"&gt;About&lt;/a&gt; &lt;a href="http://support.onelouder.com" target="_blank"&gt;Help&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="bird"&gt;&lt;img src="https://qa.tweetcaster.com/assets/img/home/bird.png" alt="TweetCaster"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>CSS:</p> <pre><code> html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; vertical-align: baseline; } body { background: #7bc5ef url(https://qa.tweetcaster.com/assets/img/layout/bg.jpg) center top repeat-x; padding-top: 15%; font-family: Helvetica, Arial, sans-serif; } .main { float: left; top: 0px; margin-left: 0; width: 550px; } .wrapper { text-align: center; height: 100%; position: relative; margin-left: auto; margin-right: auto; width: 800px; } .logo { margin: 30px 0px 0px; } .tagline { font-size: 40px; color: #ffffff; text-shadow: 0px 2px 2px rgba(0,0,0, 10); font-weight: 700; width: 510px; margin-left: auto; margin-right: auto; } .footer { bottom: 0px; width: 550px; left: 0px; margin-top: 30%; padding-bottom: 20px; } .download { padding-top: 0px; text-align: center; color: #000000; font-size: 22px; margin-bottom: 10px; font-weight: 700; } .links { text-align: center; font-size: 14px; } .links a { padding-right: 5px; color: #282828; text-decoration: none; } .links a:hover { text-decoration: underline; } .feedback { font-weight: 700; padding-right: 10px; } .devices li { display: inline-block; display: inline; /*ie7 fix */ padding-right: 7px; } .devices { margin-left: 15px; display: block; margin-bottom: 30px; } .other_devices { display: block; margin: 0 0 0 5px; } .other_devices li { display: inline-block; display: inline; /*ie7 fix */ padding-right: 6px; } .bird img { float: right; max-width: 100%; height: auto; width: auto\9; /* ie8 */ float: right; bottom: 0; position: fixed; z-index: -10; _position: absolute; _top:expression(eval(document.documentElement.scrollTop+ (document.documentElement.clientHeight-this.offsetHeight))); height: 80%; margin-left: -4%; min-height: 400px; min-width: 181px; } .menu_button { background: none; border: none; margin-left: -7px; cursor: pointer; } .hidden_menu { background-color: white; color: #000; height: 328px; position: absolute; display: none; margin-top: 0px; width: 480px; border: 1px solid #999999; left: 40px; top: 89px; box-shadow: 0 2px 9px rgba(0, 0, 0, .75); } .get_tc { color: #222222; font-size: 20px; text-align: center; margin-top: 36px; margin-bottom: 14px; } .dd_arrow { position: absolute; margin-left: 420px; margin-top: 3px; } .tc_pink { padding-top: 6px; margin-bottom: 20px; } .get_tc { margin-bottom: 10px; } .windows_button { border-radius: 7px; } .clear:before, .clear:after { content: "."; display: block !important; height: 0; overflow: hidden; } .clear:after { clear: both; } .clear { zoom: 1; } /* IE &lt; 8 */ p { margin-bottom: 18px; } p:first-child { margin-bottom: 18px; } h1 { font-size: 20px; line-height: 26px; font-weight: normal; } table, p, h1, h2, h3, h4, caption { color: #888; } ​ </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