K
Keith-Earl
Our target browser has always been IE, but we have some associates that want
to FireFox to access one of our applications. We are using standard
ASP.NET Web Controls, particularly the Calendar control. I am posting here
since this issue affects all Web Controls.
We added a text box to Calendar cell (a day). It renders nicely in IE
because we set the width property to 40 pixels. Here is the generated HTML:
<input name="txtDur" type="text" id="txtDur"
style="font-family:Tahoma;font-size:XX-Small;width:40px;" />
Note the style attribute is supported.
When we run the same page with FireFox it totally ignores the style tag. I
assume that is an IE only extension.
Here is the HTML that FireFox accepts:
<input name="txtDur" type="text" id="txtDur" />
I say accepts because it seems to have stripped out the style attribute.
We really would like to limit the width of the textbox within the date cell
of the Calendar control to 40 pixels in any browser. How do we best do that?
Many thanks,
Keith
to FireFox to access one of our applications. We are using standard
ASP.NET Web Controls, particularly the Calendar control. I am posting here
since this issue affects all Web Controls.
We added a text box to Calendar cell (a day). It renders nicely in IE
because we set the width property to 40 pixels. Here is the generated HTML:
<input name="txtDur" type="text" id="txtDur"
style="font-family:Tahoma;font-size:XX-Small;width:40px;" />
Note the style attribute is supported.
When we run the same page with FireFox it totally ignores the style tag. I
assume that is an IE only extension.
Here is the HTML that FireFox accepts:
<input name="txtDur" type="text" id="txtDur" />
I say accepts because it seems to have stripped out the style attribute.
We really would like to limit the width of the textbox within the date cell
of the Calendar control to 40 pixels in any browser. How do we best do that?
Many thanks,
Keith