I have visual force pages where i have put custom CSS and everything was working fine till yesterday. For eg I have CSS file style.css which i have included at the top my my salesforce page and it has the below code
body{
height:auto;
width:1038px;
margin:0 auto
}
At initial page load my page is taking the CSS from my style.css file.
Today morning i checked that whenever i re-render some portion of the page, my custom CSS is lost and it gets replaced by salesforce CSS coming from common.css file.
Till yesterday everything was perfectly working. I have not done any changes into my code. Dont know why this is happeneing. Any knowledge ?
Update: This issue only happens when my style is in separate static resource. If i paste the CSS into the page directly, then it works fine. But i cannot put the styles into the page.
!important
notation? Likewidth:1038px !important;