Apr 26
Min-height will be supported in Safari’s next update
2004 at 07.49 am posted by Veerle Pieters
I’ve read on Dave Hyatt‘s weblog that he implemented the support for min-heigth and max-height into Safari. This is great news for CSS developers since this is a very handy property.
It's often needed to create footers in CSS that always stick at the bottom of the page. So far we need to add an extra JavaScript to make this footer work in Safari too.
- Read all about the creation of CSS footers at A List Apart, a great article by Bobby van der Sluis btw.
Dave has also been fixing bugs with table cells and percentage height children, so that elements inside cells with percentage heights will flex properly. He's also planning on fixing min/max-width/height for positioned elements. That's all that remains, and then support for it will be complete.
I was working on a site where I wanted to use the min-width feature and I decided to choose another way because Safari didn't support it. My layout consists of 3 fixed columns, not stretchable. The first 2 have a float left. The third one did at first but then I needed to use min-width to avoid the right column to jump to the left when you look at the site in a window small then the width of the content or if you minimize your window. Because I use a fixed layout I could easily solve this with position: absolute. If this was a stretchable layout I would have looked for another way to solve this. I'm glad we can look forward to a full support of CSS for Safari ;-)
1served
1
Veerle, thanks for pointing at this news. It is good to see that most browser makers are sensitive to the needs of their users. As a result our world becomes a little bit better every day ;-)