Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

YUI Autocomplete Box, not positioning properly in IE

In Firefox/Opera/Safari It works but not in IE

8:16 am on Apr 23, 2008 (gmt 0)

New User

5+ Year Member

joined:Mar 3, 2007
posts: 11
votes: 0


I have added YUI's autocomplete functionality to my search box and in Firefox/Opera/Safari the autocomplete box comes down under my search box however in IE it comes down in the corner.
--CSS Code --

.yui-skin-sam .yui-ac-container {
top: 1.6em;
width: 100%;
text-align: left;

-- CSS Code --
I am new to CSS.

Thank You for your help!

3:48 pm on Apr 23, 2008 (gmt 0)

New User

5+ Year Member

joined:Mar 3, 2007
votes: 0

Any help?
1:56 pm on Apr 25, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member suzyuk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Oct 1, 2002
votes: 0

Hi nytrokiss

not really, we would need the construct of the code, IE does have positioning difficulties if the "auto" heyword is used (or left is not specified) but it depends on the container of the whole construct

the form itself and any other css which applies to it, hasLyout and position relative are things to look for, is the dropdown positioned abolute.. if so try setting the left to 0

otherwise all this is pretty much a guess.. sorry