Ross wrote:
> I did this a while back and cannot remember how.
> 
> I am sure I set 3 height properties to get it working and used
> !important somewhere.
> 
> min-height:400px; height:400px;
> 
> 
> I want the div to have a min height of 400px; min-height works but if
> I put in the second height attribute the box does not get bigger as
> the content expands in FF;
> 
> any ideas?

You'll need height and min-height as you suspected, but not exactly like 
that.  The modern standards compliant browsers understand min-height but 
IE6 doesn't.  However, IE6 treats height like min-height so all you have 
to do is feed height only to IE6.  You can feed height to IE6 with your 
method of choice, whether it be a conditional comment or * html "hack".

div { min-height: 400px; }
* html div { height: 400px; }

AC
-- 
Audra Coldiron

Rock-n-Roll Design & Hosting
http://rock-n-roll-design.com

KarmaCMS ( http://karmawizard.com ) - the ultimate CSS styled CMS.
Pre-made designs, designer tools, and reseller program available!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to