When I run my MVC application through Visual Studio 2008, the website looks fine with regards to the styling, images, etc.
But if I publish this build to a folder and use IIS to view it, the styling is all over place, and images are not right.
Initially, I thought this was some error on my behalf with regards to the style sheet, but I am using only a slightly modified version of the stylesheet that came out-of-the-box with the MVC template.
Am I doing something wrong with regards to publishing the site, or with the CSS sheet?
Kind regards,
Brett
This was entirely my fault!
I used tags on my page to try to display tabular data - this rendered fine when I was running the project from within Visual Studio, but when I published the site, the CSS on the page appeared distorted on the page in Internet Explorer 7 and 8.
However, when I viewed the same published build in Firefox 3, the website appeared to render correctly on the page...! Strange, I know.
I did try to correct the CSS to fix the parts that didn't render correctly in Internet Explorer, but ended up removing the tags entirely due to time, and brought in the tags instead, much to my dismay!