Hello,
On my aspx page I have these styles in the header:
<link href="Styles/layout.css" rel="Stylesheet" type="text/css" /> |
<!--[if lte IE 7]> |
<link href="Styles/ie7.css" media="screen" rel="Stylesheet" type="text/css" /> |
<![endif]--> |
<!--[if IE 6]> |
<link href="Styles/ie6.css" media="screen" rel="Stylesheet" type="text/css" /> |
<![endif]--> |
The body background color is supposed to be white, as it is declared in layout.css. In my ie6.css I placed a declaration for "body { background: #000; }" so IE6 would have the black background for testing.
In firefox and Safari, everything is fine until there is an ajax call that adds a html form to the page as its response. In that response, in both firefox and safari and IE7, the black background appears from the IE6 style.
Why after the ajax call is the IE6 if statement being removed, yet when I view the source of the page, the statement is still there, just being ignored?
Poking around with firebug, I see that RadAjaxManager creates some sort of array that holds those three <links> from the page. Does it then write that array back after the ajax is successful? Therefore removing the if statements? What the ajax call loads doesn't contain any css declarations itself, just html web forms.
- Jesse Thomson