Support » Themes and Templates » CSS Max-Width problem in IE6

  • piginzen


    Looks like I posted this in the wrong thread…

    I am using the MX4 theme and the max-width css tag associated with an image is not working with IE in OSX or Win… but works fine in Firefox… crossplatform…

    Is there a work around someone has found?


    this is what i have tried in my header.php:
    entry img {width:expression(if(this.clientWidth>300)this.width=300);}

    and this is in my css:
    .entry img {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    padding: 4px;
    max-width: 334px;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Root


    Max width is not supported by IE.



    I had thought so as well… but check out the MX4 theme on IE, it works there:

    Just not on my site…

    Has anyone else experienced this?

    I’d tried to contact the author of this theme, but have yet to get a reply in a day or so.

    ps. just tried adding this line to my css with no luck:
    width: expression(Math.min(parseInt(this.offsetWidth), 330 ) + “px”);



    figured it out… thanks…

    IE really can suck the life out of you sometimes…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS Max-Width problem in IE6’ is closed to new replies.