I can't seem to find a way to make a floated div the same height as its parent non-floated div, i.e.:
If I specify a height for the .parent div (e.g. 100px), then the .child is no taller than that (100px) when the content of the .parent occupies more than the specified height. (In IE6 at least.)
Code:
.parent {
border: 1p solid #ffffff;
}
.child {
float: left;
width: 10px;
height: 100%;
}
If I specify a height for the .parent div (e.g. 100px), then the .child is no taller than that (100px) when the content of the .parent occupies more than the specified height. (In IE6 at least.)