Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML code
Message
 
To
30/01/2004 09:12:13
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Web forms
Title:
Miscellaneous
Thread ID:
00872278
Message ID:
00872605
Views:
18
As far as I know, there is no way. Remember, that ultimate power of rendering your HTML comes down to the browser. What version of Netscape is it doing that in. You maybe be able to get around it with some Javascript but I doubt it.

Morgan

>I added a few lines to my .aspx.vb file to override the HTML code that is automatically generated at run-time when my web form displays using browsers other than IE, specifically Netscape. I add the lines to my page load() and they look like this:
>
>Me.textbox1.Attributes.Add("size", "50")
>Me.textbox2.Attributes.Add("size", "10")
>
>This code does work and it overrides the HTML that tries to auto=size my controls. textbox1 and textbox2 now look fine, but my next problem lies within the combo box control. This code won't work for a combo box. Netscape automatically sets the combo box width to the longest line of data that's bound to the combo box. So, all the combo boxes on my form are different sizes, but I want them to all be the same width.
>Does anyone know how to override this behavior?
>
>Thanks,
>Mindy
Previous
Reply
Map
View

Click here to load this message in the networking platform