em is relative, px is absolute. If you have a person who uses 120dpi as their display resolution (96dpi is the norm) then px will look smaller. I think the recommendation is to use relative sizes so it is all the same size regardless of the device.
I dont know if this question is suitable with this forum because I dont know my problem is causing because of ASP.NET or it is some CSS problem.
I am working on .NET 3.5. I have a .aspx page with lots of DIVs. When I run my project, it rus properly and displyed properly if my screen resolution is 1024*768... but when i change my screen resolution to any other value, some DIVs move here n their randomly. I couldnt figure out the reason after many tries. I am sure my HTML coding is perfect ( all DIVs and other tags are closed properly).
The application is running as expected. The user control is being called and all is well. Well not quite.
I am unable to step into the User Control project, i.e debug it. I can set breakpoints but they never get trapped. I can debug all other areas of the site both in script and code behind without any problems. The User control gets built in DEBUG to the same location as the default.aspx page.
Things i have already tried: Enabled script debugging in IE. Added the User Control project to the same web site solution Attached debugger to running instance of IE from Visual Studio Enabled debugging on the site.