Min()/max()

Giganews Newsgroups
Subject: Min()/max()
Posted by:  Timo Nentwig (tcn@spamgourmet.org)
Date: Tue, 06 Apr 2004

Hi!

Why doesn't CSS support primitive functions like min()/max()? Something like

    blah
    {
        width: max(50px,20%);    // 20%& but not less than 50px
    }

would really often be useful..

Timo

Replies