Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS Issue with JQuery Autocomplete in IE8
    primarykey
    data
    text
    <p>Im getting a really weird problem which im pretty sure is due to 'positioning'.</p> <p>Basically i've got a master page, which contains a container div, and has its position set to absolute, and using this it fills in margins along the side of the page. I'm then trying to use jQuery AutoComplete on a page, which itself has the position set to absolute, but when I select an item from the list, it reduces the margins, and its as though the absolute position on the page is removed/overriden, until typing something in the input box.</p> <p>Using Firefox and Chrome there is no issue, and they work as expected.</p> <p>I've managed to replicate my problem a bit simpler:</p> <pre><code> &lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CssProblem.WebForm1" %&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head runat="server"&gt; &lt;link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" /&gt; &lt;script type='text/javascript' src='http://code.jquery.com/jquery-1.4.2.js'&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.js"&gt;&lt;/script&gt; &lt;script&gt; $(function () { var availableTags = [ "ActionScript", "AppleScript", "Asp" ]; $("#tags").autocomplete({ source: availableTags }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="container-content" style="width: 98%; position: absolute; min-height: 100%; border-left: solid 1px #ccc; border-right: solid 1px #ccc;"&gt; &lt;div class="ui-widget"&gt; &lt;label for="tags"&gt;Tags: &lt;/label&gt; &lt;input id="tags" /&gt; &lt;/div&gt; &lt;br /&gt; Some Text &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Any help/tips/suggestions would be greatly appreciated</p> <p>Edit: Found this issue does not apply to IE8, but does apply against IE7 &amp; IE8 Compat mode, still having no joy</p>
    singulars
    1. This table or related slice is empty.
    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.
    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