This is a continuation of this issue.
I have an ASP.NET application that has several sections displayed differently when viewed in IE8 in DEBUG and displayed the published location of the TEST server.
When I view a page in Debug (via VS 2010), I see this:

However, when I publish to the server and view it directly, it looks like this:

The title field has only the background color of the text as black, not the entire section.
Here's the CSS:
.imageBox { position: relative; float: left; border-style: solid; border-width: 1px; text-align: center; } .imageBoxTitle { width: 100%; background-color: #333333; padding: 5px; } .imageBoxTitleLbl { font-family: Verdana; font-weight: bold; font-size: small; color: White; }
Here is the generated HTML
<div class="imageBox"> <div class="imageBoxTitle"> <span id="MainContent_ImagesPanel_ImageHolder1_ImageBoxTitleLabel" class="imageBoxTitleLbl">ITEM OVERVIEW</span> </div> <div class="imagePlaceHolder"> <p class=".centeredImage"><a id="MainContent_ImagesPanel_ImageHolder1_ImageHyperLink" href="UserImages/nu5t3hhs.jpg" target="_blank"><img src="UserImages/nu5t3hhs.jpg" height="200" width="200" /></a></p> <span id="MainContent_ImagesPanel_ImageHolder1_CustomValidator1" style="color:Red;visibility:hidden;">*</span> </div> <div class="imageAction"> </div> </div>
So I thought this was probably some kind of caching problem. However, if I make small changes to the CSS (for example, change the background color), it selects this and displays it. In addition, I added a dynamically generated GUID to querystring for css files, so they should never be cached. Fiddler confirms that they are also not cached.
IE seems to do HTML / CSS differently when viewed through Visual Studio Debug and when accessing the page directly from the server.
What things can cause this behavior?
UPDATE: When I view a page in Chrome or Firefox on a published server, it displays correctly. I cleared IE cache (ctrl-f5), deleted .css from server and reloade, etc.