Welcome to WebmasterWorld Guest from 54.198.93.179

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)

5+ Year Member



Hi,

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 {
float:left;
top: 1.6em;
width: 100%;
text-align: left;
display:inline
}

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

Thank You for your help!
James

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

5+ Year Member



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

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



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month