Combobox quirks in Mozilla

  • Thread starter Thread starter Davindra
  • Start date Start date
D

Davindra

Hello, sorry if this is posted in the wrong area, but any help and/or
direction would be appreciated.

I have a combobox on a form that is bound to collection.
The collection however starts off empty, and as the user manipulates data,
values are added and removed from the collection.

The combobox is stretched as follows:

[select name="lstItems" size="5" id="lstItems" DESIGNTIMEDRAGDROP="365"
style="font-family:Tahoma;font-size:11px;width:320px;"]
[/select]

While this works perfectly in IE, the mozilla browsers ignore the
stretching.
The control stretches to the size of the contents in mozilla browsers,
forcing the table cell to shrink/expand as data is added.
This just looks very unprofessional.

I was wondering how to force the control to set a fixed size that I have
specified and have it work in Mozilla.

Thanks in advanced.
 
Davindra said:
Hello, sorry if this is posted in the wrong area, but any help and/or
direction would be appreciated.

I have a combobox on a form that is bound to collection.
The collection however starts off empty, and as the user manipulates data,
values are added and removed from the collection.

The combobox is stretched as follows:

[select name="lstItems" size="5" id="lstItems" DESIGNTIMEDRAGDROP="365"
style="font-family:Tahoma;font-size:11px;width:320px;"]
[/select]

While this works perfectly in IE, the mozilla browsers ignore the
stretching.
The control stretches to the size of the contents in mozilla browsers,
forcing the table cell to shrink/expand as data is added.
This just looks very unprofessional.

I was wondering how to force the control to set a fixed size that I have
specified and have it work in Mozilla.

Thanks in advanced.
Actually it might just the .NET runtime sending invalid data to mozilla
when you use the html source generated for IE with mozilla you'll get
correct results.

Try hosting the asp.net pages with mono and you'll get much more
compatible results.

I had the same problem with a multiline asp:textbox,
it rendered correctly on IE but was very small on mozilla and other
browsers, when comparing the source generated for the browsers only ie
received valid code.

Microsoft claims this is because the browsers do not support it,
but when you change the identifier in mozilla to IE6 it works just fine,
so their excuse is crap.
 
* "Davindra said:
I have a combobox on a form that is bound to collection.
The collection however starts off empty, and as the user manipulates data,
values are added and removed from the collection.

The combobox is stretched as follows:

[select name="lstItems" size="5" id="lstItems" DESIGNTIMEDRAGDROP="365"
style="font-family:Tahoma;font-size:11px;width:320px;"]
[/select]

Seems to be a Web Controls problem, not a Windows Forms problem. You
may want to post your question to this group:

<URL:
 
Back
Top