Yes !
position: absolute on UL solve the problem. It works now on IE and FF.
Here is my working CSS:
DIV.autocomplete UL{
color: #000000;
background-color: #FEFEFE;
border: 1px solid #888888;
list-style-type : none;
margin: 0px 0px 0px 1px;
padding:0px;
position: absolute;
}
DIV.autocomplete LI{
font: normal 8pt Arial, Helvetica, sans-serif;
list-style-type:none;
margin: 0px;
padding: 2px 4px;
line-height: 130%;
cursor:pointer;
white-space: nowrap;
}
Thanks,
Jp
On 11/15/06, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>
> Hey JP,
>
> Jean-Philippe Encausse a écrit :
> > But FF still didn't want to resize the LI and UL to the text length.
> > The text is over but LI is not resized.
>
> Actually it might be, but if your UL or LI is absolutely positioned for
> some reason, the container DIV won't follow size constraints.
>
> --
> Christophe Porteneuve aka TDD
> [EMAIL PROTECTED]
>
> >
>
--
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---