Developing ASP.net pages with IE7

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.

Answer this question

Developing ASP.net pages with IE7

  • jminond

    that's the thing... there is NO css... I open a brand new project, drop a button and it happens.
  • Sayure

    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.

  • Brendan Stewart

    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.

  • 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



  • Developing ASP.net pages with IE7