IE and max-width

Discussion in 'CSS' started by juston, Aug 16, 2009.

  1. #1
    max-width: 1200px;

    this does not work in IE. Any possibility or trick how to set max-width in IE?
    for DIV tag.

    i see that on digg.com somehow it works. how? i try the same and does not work.
     
    juston, Aug 16, 2009 IP
  2. AssistantX

    AssistantX Peon

    Messages:
    173
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Internet Explorer does not support max-width. To set max-width in IE, you must use IE's proprietary code. I recommend you place this within an IE conditional comment.

    As from Perishable Press:
    Where expression() allows you to calculate/restrict the width.
     
    AssistantX, Aug 16, 2009 IP
  3. juston

    juston Banned

    Messages:
    265
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanx a lot! very good solution
     
    juston, Aug 16, 2009 IP
  4. bobjones121806

    bobjones121806 Guest

    Messages:
    1,417
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I also have this confusion, thank you for your answer.
     
    bobjones121806, Sep 2, 2009 IP