Hi...
I have a problem where a nested <div> isn't changing the height of its
parent div. I have a parent div which contains a child div and some text.
The child div is a box to hold a list of thumbnail images. If the thumbnail
div has several images in it, it overflows the parent div. How can I make
this div affect the height of the parent div?
I have the following HTML:
<div>
<h3>Some title or other...</h3>
<div class="thumbnai ls">
<p><img src="images/images/thumb_page_02_0 1_01.jpg" alt=""
width="75" height="51" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_02.jpg" alt=""
width="75" height="49" border="0"></p>
<p><img src="images/images/thumb_page_02_0 3_01.jpg" alt=""
width="75" height="110" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_01.jpg" alt=""
width="75" height="51" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_02.jpg" alt=""
width="75" height="49" border="0"></p>
<p><img src="images/images/thumb_page_02_0 3_01.jpg" alt=""
width="75" height="110" border="0"></p>
</div>
Some text for people to read... Some text for people to read... Some
text for people to read... Some text for people to read... Some text for
people to read... Some text for people to read... Some text for people to
read... Some text for people to read... Some text for people to read... Some
text for people to read... Some text for people to read... Some text for
people to read... Some text for people to read... Some text for people to
read...
</div>
And the following stylesheet:
div.thumbnails {
float : right;
}
div.thumbnails p {
margin : 5px 0 5px 0;
}
							
						
					I have a problem where a nested <div> isn't changing the height of its
parent div. I have a parent div which contains a child div and some text.
The child div is a box to hold a list of thumbnail images. If the thumbnail
div has several images in it, it overflows the parent div. How can I make
this div affect the height of the parent div?
I have the following HTML:
<div>
<h3>Some title or other...</h3>
<div class="thumbnai ls">
<p><img src="images/images/thumb_page_02_0 1_01.jpg" alt=""
width="75" height="51" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_02.jpg" alt=""
width="75" height="49" border="0"></p>
<p><img src="images/images/thumb_page_02_0 3_01.jpg" alt=""
width="75" height="110" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_01.jpg" alt=""
width="75" height="51" border="0"></p>
<p><img src="images/images/thumb_page_02_0 1_02.jpg" alt=""
width="75" height="49" border="0"></p>
<p><img src="images/images/thumb_page_02_0 3_01.jpg" alt=""
width="75" height="110" border="0"></p>
</div>
Some text for people to read... Some text for people to read... Some
text for people to read... Some text for people to read... Some text for
people to read... Some text for people to read... Some text for people to
read... Some text for people to read... Some text for people to read... Some
text for people to read... Some text for people to read... Some text for
people to read... Some text for people to read... Some text for people to
read...
</div>
And the following stylesheet:
div.thumbnails {
float : right;
}
div.thumbnails p {
margin : 5px 0 5px 0;
}
 
	 
	
Comment