Skip to main content

min/max-width/height supported by IE7!

By Kevin Yank

JavaScript

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

In my announcement of the second preview release of IE7 Beta 2 yesterday, I mentioned that there was little available information about what was new in this release. Well, as one might expect, those details are beginning to surface as as people try out the new build.

For me, the most exciting news so far came from Dave Shea, who reports that this latest update supports the min-width and max-width CSS properties, and presumably min-height and max-height as well!

With these properties, designers can put together page layouts that will stretch to accomodate different screen resolutions, but will also stop stretching at a certain point to preserve readability. Expect a great many new designs to begin taking full advantage of this feature, but a separate style sheet will still be necessary to apply a fixed width for IE6 and below.

Kevin Yank is an accomplished web developer, speaker, trainer and author of Build Your Own Database Driven Website Using PHP & MySQL and Co-Author of Simply JavaScript and Everything You Know About CSS is Wrong! Kevin loves to share his wealth of knowledge and it didn't stop at books, he's also the course instructor to 3 online courses in web development. Currently Kevin is the Director of Front End Engineering at Culture Amp.

New books out now!

Get practical advice to start your career in programming!


Master complex transitions, transformations and animations in CSS!

Latest Remote Jobs