Min-width and min-height for IE, fast fix
debbie campbell
Today is the second day I’ve sat down and worked on the layout for my new business website. This is, without a doubt, the trickiest layout I’ve ever done. Which is a good thing…
Today I found this super-handy little hack (it’s a hack, I know, and ordinarily I wouldn’t use this but for now I’m going to because it works perfectly and I’m not sure about using the Microsoft expressions for IE lt 7…). This is from Dustin Diaz:
selector {
min-height:500px;
height:auto !important;
height:500px;
}
Sweet and simple. And it works with min-width too.
Posted in CSS, Web Design |





