Auto resize dropdown list of a combo

Auto resize dropdown list of a combo

am 12.12.2006 11:13:20 von AbdhulSaleem

Hi,

Any code snippet or help link available on how to auto resize the dropdown
list part of the combo(
You can make length whatever you want

SELECT.thisstyle
{
FONT-SIZE: x-small;
WIDTH: 450px;
COLOR: midnightblue;
FONT-FAMILY: 'Arial CE';
HEIGHT: auto;
TEXT-DECORATION: none
}

"Abdhul Saleem" wrote in message
news:10E42CA0-A3AE-48D9-B330-90FAFD6FEFF9@microsoft.com...
> Hi,
>
> Any code snippet or help link available on how to auto resize the dropdown
> list part of the combo() ?
>
> Or, is there any alternative techniques for displaying the full lenth
> text when dropdown the combo?
>
HML/CSS questions will usually get more attention in relevant groups:
http://groups.google.com/groups/dir?sel=33584039

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: Auto resize dropdown list of a combo

am 12.12.2006 13:45:01 von AbdhulSaleem

Micheal,

As you suggested I used the following style
FONT-SIZE: x-small;
WIDTH: auto;
COLOR: midnightblue;
FONT-FAMILY: 'Arial CE';
HEIGHT: auto;
TEXT-DECORATION: none

But the problem is the combo fully gets resized which I don't want.
I want to retain the width of the combo say 150px. But when drilldown or
dropdown, the dropdown list items alone should be displayed fully. Pleae help
me in achieving this.

Regards,
M. Abdhul Saleem.

"Michael" wrote:

> I am offering to make ) ?
> >
> > Or, is there any alternative techniques for displaying the full lenth text
> > when dropdown the combo?
> >
> > Regards,
> > M. Abdhul Saleem.
>
>
>