Small straight line displayed on web application
-
Am totally stuck with an issue. I have developed a web application using Visual Studio .Net 2005. The problem is that i could see a straight line displayed in the application, However its not due to any code i guess. Since the issue exists only in Windows 7 OS with IE8. For the same OS, there is no such issue when tested in Mozilla Firefox . And the other scenario i noted here is that when i test the application( same code) with these configurations - Windows XP , Firefox/IE8, the issue is not reproduced. Am not able to trace out whether this issue is browser specific, or OS specific or whether the problem with Visual Studio.Net. Please help. Thanks, Arudya
-
Am totally stuck with an issue. I have developed a web application using Visual Studio .Net 2005. The problem is that i could see a straight line displayed in the application, However its not due to any code i guess. Since the issue exists only in Windows 7 OS with IE8. For the same OS, there is no such issue when tested in Mozilla Firefox . And the other scenario i noted here is that when i test the application( same code) with these configurations - Windows XP , Firefox/IE8, the issue is not reproduced. Am not able to trace out whether this issue is browser specific, or OS specific or whether the problem with Visual Studio.Net. Please help. Thanks, Arudya
Please post some code! The problem is probably due to rendering quirks between browsers, somtimes borders and alignment go out of whack due to these, it is possible that the line you describe is due to this. Without the markup, we can't tell at all what is going on. [Edit] see PogoBoy's answer below, he describes the problem better than I have!
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
modified on Wednesday, October 27, 2010 9:18 AM
-
Am totally stuck with an issue. I have developed a web application using Visual Studio .Net 2005. The problem is that i could see a straight line displayed in the application, However its not due to any code i guess. Since the issue exists only in Windows 7 OS with IE8. For the same OS, there is no such issue when tested in Mozilla Firefox . And the other scenario i noted here is that when i test the application( same code) with these configurations - Windows XP , Firefox/IE8, the issue is not reproduced. Am not able to trace out whether this issue is browser specific, or OS specific or whether the problem with Visual Studio.Net. Please help. Thanks, Arudya
You may have an issue where two elements with a common background are meant to be seamlessly aligned with each other, but in the affected system and browser, the rendering is forcing a pixel or two of spacing between the objects, causing the background to bleed through. This would appear as though a line is rendered, when in reality it is just the background. That is why you won't find it in yourcode directly. If it is a table tag, make sure your cellspacing is explicitly set to 0.
I wasn't, now I am, then I won't be anymore.