GezH
Programmer
- Aug 7, 2002
- 68
Hello, is there a way I can specify a minumum size for a div, but then it expands downwards when the page content gets longer? I have this div:
#cont {
width:520px;
height:400px;
background:#ffffff;
color: #333333;
border:solid #000000;
border-width:0 0 0 1px;
text-align:left;
}
It works fine on most browsers, but not on Safari 2 on Mac OSX 10.4.3. Apparantly here, the text can get too long for the panel, and the panel does not stretch to contain it.
Thanks for any advice.
#cont {
width:520px;
height:400px;
background:#ffffff;
color: #333333;
border:solid #000000;
border-width:0 0 0 1px;
text-align:left;
}
It works fine on most browsers, but not on Safari 2 on Mac OSX 10.4.3. Apparantly here, the text can get too long for the panel, and the panel does not stretch to contain it.
Thanks for any advice.