Home > Archive > ASP > December 2006 > Auto resize dropdown list of a combo
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Auto resize dropdown list of a combo
|
|
| Abdhul Saleem 2006-12-13, 4:06 pm |
| Hi,
Any code snippet or help link available on how to auto resize the dropdown
list part of the combo(<select> ) ?
Or, is there any alternative techniques for displaying the full lenth text
when dropdown the combo?
Regards,
M. Abdhul Saleem.
| |
| Michael 2006-12-13, 4:06 pm |
| I am offering to make <select class=thisstyle>
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" <AbdhulSaleem@discussions.microsoft.com> 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(<select> ) ?
>
> Or, is there any alternative techniques for displaying the full lenth text
> when dropdown the combo?
>
> Regards,
> M. Abdhul Saleem.
| |
| Bob Barrows [MVP] 2006-12-13, 4:06 pm |
| Abdhul Saleem wrote:
> Hi,
>
> Any code snippet or help link available on how to auto resize the
> dropdown list part of the combo(<select> ) ?
>
> 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"
| |
| Abdhul Saleem 2006-12-13, 4:06 pm |
| 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 <select class=thisstyle>
> 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" <AbdhulSaleem@discussions.microsoft.com> wrote in message
> news:10E42CA0-A3AE-48D9-B330-90FAFD6FEFF9@microsoft.com...
>
>
>
|
|
|
|
|