This div features inside:
<div class="PF">
<img src="img" class="FollowerPic">
<span>Name</span>
<div class="Text"></div>
<div class="readURL">
<img src="../img/x.png" class="closeP">
<img src="" class="readIMG"></div>
</div>
</div>
The height of the "Text" and "readIMG" elements can be customized by the user to be either 100px or 500px.
.PF {
width: 600;
height: auto;
overflow: hidden;
min-height: 500;
span{
position: absolute;
font-family: sans-serif;
font-size: 32;
margin-left: 140;
margin-top: 50;
}
}
.readURL{
margin-left: -19;
margin-top: 100;
width: 300;
height: 260;
position:absolute;
border-bottom-right-radius: 8px;
border-top-right-radius: 8px;
display: none;
.readIMG{
width:600px;
margin:-55 19 100;
height: inherit;
}
.closeP{
position:@Abs;
width: 40;
margin-left: 180%;
cursor:pointer;
}
}
Despite applying this code to the parent div, it did not resize as expected and remains at the same height.