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.
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.
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.
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
piram
Member
127 Points
151 Posts
Website rendering bad in Windows 7
Apr 23, 2012 04:09 PM|LINK
Hi,
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?
Thanks.
breath2k
Contributor
2101 Points
821 Posts
Re: Website rendering bad in Windows 7
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.
Mark-yu
Participant
888 Points
127 Posts
Re: Website rendering bad in Windows 7
Apr 25, 2012 09:27 AM|LINK
Hi,
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.
Thanks
dutta_sudipt...
Member
67 Points
29 Posts
Re: Website rendering bad in Windows 7
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.
ramiramilu
All-Star
95493 Points
14106 Posts
Re: Website rendering bad in Windows 7
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...
Thanks,
JumpStart
morefays
Participant
1129 Points
237 Posts
Re: Website rendering bad in Windows 7
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
It will solve your problem
~Please Mark As Answer, if one or multiple posts, which helped you in your problem. So that it might be useful for others~
dotnetfarrukhabbasblogspot