Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to get IE10 to match Chrome and Firefox display
    primarykey
    data
    text
    <p>I have an asp.net 4.0 application that I'm trying to balance for all three browsers. The content lines up as it should for Firefox and Chrome, but when displaying in IE10 the text elements become substantially larger and no longer flow within their layout correctly. Oddly enough, IE8 displays correctly, as does IE10 in Compatibility Mode, but using </p> <pre><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/&gt; or &lt;meta http-equiv="X-UA-Compatible" content="IE8"/&gt; </code></pre> <p>has no effect (using it as the first element in the head.)</p> <p>There's a hotfix for asp.net 4.0 that adds the user agent for IE10 (without which IE10 was displayed in basic mode), but that seems to have been replaced by a Windows Update that seems to have already been applied (the hotfix installation is blocked as a result.) This issue is described here, <a href="https://stackoverflow.com/questions/13503267/asp-net-website-looks-different-on-ie10">ASP.NET website looks different on IE10</a> .</p> <p>At this point I'm not sure what else could be causing the issue. Here's a picture of the difference, with the Chrome appearance above IE10 to give a comparison:</p> <p><a href="https://i.imgur.com/QRDS3ws.png" rel="nofollow noreferrer">http://i.imgur.com/QRDS3ws.png</a></p> <p>Both browsers are in zoom 100% mode, but IE10 is clearly making everything larger.</p> <p>Here is the code and CSS for the displayed segment:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head id="Head1" runat="server"&gt; &lt;title&gt;Commitment Details&lt;/title&gt; &lt;link href="Styles/StyleSheet.css" rel="stylesheet" type="text/css" /&gt; &lt;/head&gt; &lt;body&gt; &lt;form runat="server"&gt; &lt;asp:FormView ID="FormView1" runat="server" CellPadding="4" CellSpacing="2" EnableModelValidation="True" GridLines="Both" CssClass="Formview"&gt; &lt;ItemTemplate&gt; &lt;label style="width:auto"&gt;Commitment Workseet For:&lt;/label&gt; &lt;asp:Label ID="lblPageInfo" runat="server" CssClass="Right"/&gt; &lt;ol class="header"&gt; &lt;li&gt;&lt;label style="font-weight: normal;"&gt;&lt;%# Eval("cus_name") + "#" + Eval("cmt_cusno") %&gt;&lt;/label&gt;&lt;/li&gt; &lt;li&gt;&lt;asp:Button id="btnNextPage" runat="server" Enabled="false" Style="background-image: url(images/greyrightarrow.png)" CssClass="arrows" /&gt;&lt;/li&gt; &lt;li&gt;&lt;asp:Button id="btnPrevPage" runat="server" Enabled="false" Style="background-image: url(images/greyleftarrow.png)" CssClass="arrows" /&gt;&lt;/li&gt; &lt;li&gt;&lt;asp:Button ID="btnBack" runat="server" Text="Selection List" CssClass="Right" OnClientClick="location.href='Selection.aspx'; return false;" /&gt;&lt;/li&gt; &lt;li&gt;&lt;asp:Button ID="btnHelp" runat="server" Text="Help" CssClass="Right" OnClientClick="location.href='docs/CWDocumentation.doc'; return false;" /&gt;&lt;/li&gt; &lt;li&gt;&lt;asp:Button ID="btnUpdateCmt" runat="server" Text="Update Commitment" CssClass="Center" OnClientClick="window.open('UpdateCommitment.aspx','_blank','height=310,width=630,scrollbars=0,location=no,toolbar=0,menubar=no'); return false;" /&gt;&lt;/li&gt; &lt;/ol&gt; </code></pre> <p>Here is the relevant CSS:</p> <pre><code>body { width: 768px; text-align: center; margin: 0 auto; font-family:Arial; font-size:small; } .SelectionView { text-align: left; border-style: none; } .Formview { background-color: #CCCCCC; border-color: #999999; border-style: solid; border-width: 3px; color: black; } .Center { float: right; margin-right:50px; } .Right { float: right; } .arrows { float: right; width: 36px; height: 24px; } .header { height: 2em; background-color: #000000; color: white; clear:both; margin: 0px; padding: 0px; list-style-position: inside; vertical-align: middle; } .header li { display: inline; line-height: 2em; } li { list-style: none; } </code></pre> <p>Any suggestions on what I should be looking at next, or ideas for a solution?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload