When I add a button to a form in the designer then run the program in debug mode (views in IE 7) the button extends to the end of the form. If I choose to run it through the debugger in firefox everything works fine.
Make sure the height and width properties of the button are set. I had the same problem with a button in one of my asp pages and found those properties to be blank. When I set them that fixed it.
I have encountered the same problem. Their is a CSS file, but this only has code for the formatting of a text box. Tetx Box and Label controls are fine, but buttons are very strange.
That sounds like something in the design engine has gotten screwed up. Have you tried doing a repair install of VS I've never heard of anything like that happening in VS/VWD.
After the repair, if it's still happening, you might have better luck on the ASP.NET forums at http://www.asp.net. The ASP.NET product team answers questions over there, including the people who wrote and test VS/VWD.
It's most likely that there is a CSS file that is affecting the way the button is drawn on the page. Can you provide the CSS so we can figure out what's going on
Developing ASP.net pages with IE7
jminond
Sayure
Brendan Stewart
George2
That sounds like something in the design engine has gotten screwed up. Have you tried doing a repair install of VS I've never heard of anything like that happening in VS/VWD.
After the repair, if it's still happening, you might have better luck on the ASP.NET forums at http://www.asp.net. The ASP.NET product team answers questions over there, including the people who wrote and test VS/VWD.
PEte
Spider-link
It's most likely that there is a CSS file that is affecting the way the button is drawn on the page. Can you provide the CSS so we can figure out what's going on
thanks,
PEte