Is your max-width or max-height css not working in IE8? Neither was mine. I found plenty of hacks and ways around it, but none of them solved the issue once and for all.

One great little snip-it I found along the way was how to add inline hacks to the CSS file, for example:

width:200px9; /* ie8 and earlier */
height:200px9; /* ie8 and earlier */

You can use that, or 8 for IE7 and previous, etc. Great little trick.

BUT, the real culprit? The doctype! Apparently IE8 doesn’t recognise this:

!doctype html

But it DOES recognise this:



  • balaji

    Does the above said will work when using max- width and min-width?

We'd love to
hear from you

We've prepared a simple project planner to get started.

Lets get started

Or send us a

Phone: (07) 3878 1151

Address: Office 2, 59 Hardgrave Rd,
West End, Brisbane, 4101, QLD, Australia

Oops! We could not locate your form.