asp.net - Div tags rendering as tables in IE -
I have an ASP. Some of these clients have recently started seeing problems with HTML rendering in IE. All bid tags are now rendering in the form of tables.
We have a development machine running IE7 which is showing the same problem in a scenario: when the app is installed on the machine and we use the same machine to apply. for.
This development machine, using IE7, can see other installations and other clients of the application, without installing any problem development machines.
All negative tags have been replaced with table tags.
This is a sample HTML that has been sung correctly in IE:
& lt; Div id = "wtbToolbar" & gt; & Lt; / Div & gt;
And similarly with the problem, the same HTML renders in IE on the machine:
& lt; Table id = "wtbToolbar" & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt;
The source of this HTML is ASP.NET Control, which comes from WebControl. WebControl.The TagKey and WebControl.TagName attributes are already overridden to return Dove.
The Web The config file already has a browser caps section that fixes the same problem in Firefox.
Maybe I need to update the browser to include in IE?
Thanks
ASP Net 1.1 (especially) can provide different HTML It depends on how the browser looks for "capabilities". It presents browsers as "up level" or "downline" and depending on it often presents different outputs.
ASP.NET detects something based on this. You can read more about it. It is possible that something in the browser can change the caps file like this. There is another good article on this, शुभकामनाएं!
Comments
Post a Comment