Thursday, December 18, 2008

Err: min-height not work in CSS


    Major browsers may not accept the min-height property of the HTML elements like <div>. USe the following syntax to get the exact height you want.
   
        #divid {
            min-height:300px;
            height:auto !important;
            height:300px;    /*Needs to match the min height pixels above*/
        }

    Ref: http://blog.themeforest.net/general/15-css-tricks-that-must-be-learned/

No comments:

Post a Comment