G
Guest
Hi,
I add label and text box fields dynamically in code using C# and ASP.NET. I
set the width of the label using:
Label label = new Label();
label.Width = 20;
label.Text = "Test";
panel.Controls.Add(label);
This works fine with IE where the width is correct, but the widths of the
labels are not working using Mozilla Firefox. On further investigation it
seems that firefox is having problems with the <span> tag that is used on the
aspx page.
Has anyone come across this or know or a work around.
I add label and text box fields dynamically in code using C# and ASP.NET. I
set the width of the label using:
Label label = new Label();
label.Width = 20;
label.Text = "Test";
panel.Controls.Add(label);
This works fine with IE where the width is correct, but the widths of the
labels are not working using Mozilla Firefox. On further investigation it
seems that firefox is having problems with the <span> tag that is used on the
aspx page.
Has anyone come across this or know or a work around.