dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
874
share rss forum feed


howardfine

join:2002-08-09
Saint Louis, MO

How to fix IE10

IE10 will support "viewport".

@viewport{
[viewport property];
}

IE10 supports the @viewport rule with a -ms prefix. So the viewport rule ends up looking like:

@-ms-viewport{
[viewport property];
}

What Microsoft recommends is adding the rule:

@media screen and (max-width:400px) {
@-ms-viewport{
width:320px;
}
}

Is nothing ever simple or standard with IE?