I’ve recently noticed that sometimes control sizes differ from the ones set during design time. For example, I have a dropdownlist placed in a table column. Here’s how it looks like in design time:
And here’s how it looks like in run time:
What is the reason for this?
P.S. Sorry, I could not figure out how to properly layout images.
This happens in IE; I usually have to compromise on this when setting a width in the CSS. Depending on your situation you could add a meta tag for a more modern version of IE. You might also look at tag mapping; I’ve heard that you can leverage more control this way but cannot confirm that.
Fixing ASP.NET Server Control Rendering Issues with Tag Mapping
Also, make sure you use a fixed (not %) width in the CSS.