magic-c0d3r magic-c0d3r - 1 year ago 107
CSS Question

CSS Rendering differently on server than local

I have this annoying CSS rendering issue that I am not sure what is causing it.

on my local copy everything looks that way I want it. When I deploy it to the server IIS.

there is one minor very minor DIV that is not rendering the way I want it or the same is what the local copy renders.

In this case, there is a padding on top and bottom of the div when there should not be. It looks fine in the local.

I tried setting the X-AU in the header but that did not help.

It is only rending that one div differently. all of the other elements looks fine. This is really strange.

Answer Source

Have you tried to disable IIS static content compression? I already had issues with minified jquery and css on servers running IIS and I had to change it to non-minified versions of it.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download