since im doing a branding for my SP enterprise server which uses a fixed and centered layout i need to use the s4-nosetwidth class to adjust my width..
as you can see in the screenshot below this messes up my dialogboxes.. anyone ideas how the width from the class is not applied to dialog boxes?

*small reso*/
@media screen and (max-width: 1123px)
{
.s4-nosetwidth{
width:990px !important;
}
.s4-ca{
margin-left:0px;
margin-top:10px;
margin-right:5px;
width:80%;
float:left;
}
.ms-dialog .s4-nosetwidth
{
width:auto !important;
overflow:hidden !important;
}
}
width: auto !important;towidth: inherit !important;instead? I always use inherit instead of auto, as that uses the parent elements width, which usually aren't set to something specific when displayed in the dialog. – Daniel Ziga Apr 2 '12 at 11:55