Note that there are some explanatory texts on larger screens.

plurals
  1. POThe DIV is not auto-adjusting its height after a certain limit. Please see
    primarykey
    data
    text
    <p>The following is the HTML code :</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;head&gt; &lt;title&gt;Gallery&lt;/title&gt; &lt;meta charset="UTF-8"&gt; &lt;link rel="stylesheet" href="design.css" /&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="wrapper"&gt; &lt;div id="title"&gt; &lt;p id="title_font"&gt; NAVNEET&lt;br /&gt; KHARE &lt;/p&gt; &lt;/div&gt; &lt;div id="flickr"&gt; &lt;!-- Content will go here --&gt; &lt;/div&gt; &lt;div class="page_header"&gt; GALLERY &lt;/div&gt; &lt;?php include ("navig.html"); ?&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>And here goes the CSS :</p> <p>@</p> <pre><code>charset "utf-8"; /* CSS Document */ *{margin:0px; padding:0px; border:0px; line-height: 100%; font-size: 100%;} html {height:auto;width:auto;} body {background-color:#000;width:100%;height:auto;} #wrapper {position:absolute;width:870px;min-height:100%;background-color:#191919;left:50%;margin-left:-435px;height:auto;} #title {position:absolute;left:1%;} #title_font {color:#FFF;font-size:60px;line-height:100%;} #navig {position:absolute;width:200px;right:-4%;top:400px;} .nav {position:absolute;background-color:#666;height:20px;width:150px;display:block;text-decoration: none;text-align: center;color:white; -moz-transition-property:-moz-transform 1s; -moz-transition-duration:3s; -moz-transition-timing-function:cubic-bezier(0, 1, 0, 1); -o-transition-property:-moz-transform 1s; -o-transition-duration:3s; -o-transition-timing-function:cubic-bezier(0,1,0,1); -webkit-transition-property:-moz-transform 1s; -webkit-transition-duration:3s; -webkit-transition-timing-function:cubic-bezier(0,1,0,1); } .nav:hover { background-color : #A0050A; -moz-transform:translate(-20px,0px); -o-transform:translate(-20px,0px); -webkit-transform:translate(-20px,0px); } #front_image {position:absolute;top:150px;left:70px;padding-bottom:30px;} #chat {position:absolute;top:150px;left:70px;padding-bottom:30px;} #grooveshark {position:absolute;top:150px;left:70px;padding-bottom:30px;} #comment_box {position:absolute;top:150px;left:70px;padding-bottom:30px;} #flickr {position:absolute;top:150px;left:12px;height:600px;width:677px;background-color:white;} #hide {position:absolute;width:577px;height:30px;background-color:#191919;top:615px;left:70px;z-index:2;} .page_header {position:absolute;top:250px;right:2%;color:#BD060B;font-size:xx-large;text-align:center;border-style:solid;border-color:#BD060B;border-width:medium;width:150px;word-wrap:normal;word-spacing:5px;padding:2px;} </code></pre> <p>The problem is, as you can see, I've made the div "flickr" to be of size of 600 px (heightwise) and thus, I was expecting the wrapper div to expand accordingly to contain all the children divs. But the result isn't quite so. I am attaching a picture below to show what is the result that I am getting. I've used a red arrow to show the problem :</p> <p><a href="http://i.stack.imgur.com/x0W4K.jpg" rel="nofollow">http://i.stack.imgur.com/x0W4K.jpg</a></p> <p>It'd be really great if someone could highlight my mistake! Thanks a bunch in advance!</p>
    singulars
    1. This table or related slice is empty.
    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