Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 25, 2012 10:29 AM by morefays
Apr 23, 2012 04:09 PM|LINK
I have build a website in asp.net with visual studio 2005.
I have tested the website in Windows xp and is fine. But when testing the website on Windows 7, the controls are out of place, for example: a textbox positions itself on top of another, when this should not be happening.
How can i solve this?
Apr 23, 2012 07:23 PM|LINK
It is more likely to be an IE version difference between the two rather than it being windows 7. Can you post any code applicable as it's hard to answer the question without some knowledge of how the page is laid out, a direct link to it would be even better.
Apr 25, 2012 09:27 AM|LINK
Like breath2k said, the problem seems related to the browse[not browse's problem, just the page not works well in some browse]. So
please post any code applicable or a direct link. Suggest update the browse to check it.
Apr 25, 2012 09:49 AM|LINK
Problem may not be with the browser. Actually in 2005, the HTML designer style is set to absolute mode. It is good for Internet Explorer and you get a "What You See is What You Get" output. But other browsers may have problem to render it.
You may change the absolute positioning mode. You can do it from Tools menu --> Options -->HTML Designer -->CSS Styling.
Change the absolute positioning mode to other (probably relative mode is available).
Now it would create another problem. You won't be able to drag the controls, because it is directly coded to HTML and the controls drops at cursor position. To move the controls you have to give <br/> or space ( ) or you can put the
controls to the cells of a table. It is really problematic, but it renders to all the browsers in the same way and all browsers give same type of output.
Apr 25, 2012 10:13 AM|LINK
check out this complete table of which html elements are compatible with al IE versions...http://msdn.microsoft.com/en-us/library/cc351024(v=vs.85).aspx
at the same time you need to do some research arounf Cross Browser Compatibility CSS...
Apr 25, 2012 10:29 AM|LINK
bascially there is browser compactablity issue CSS render different in differen IE browser so you add meta tage in master page according to windows XP IE version like this
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
It will solve your problem