Web Application - ASP.Net - C# - NHibernate - MSSQL Server - MySQL
ASP.net Navigation menu component on chrome
Chrome add an extra space above the asp.net navigation. This will cause any other sizing appear incorrectly.
ASP.net navigation menu created space with the following tags - before navigation div:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are 2 solution :
1. We can set as display none for them using the following style :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2. But using display none is not recomended since we still don't know why
asp.net create the space. Instead, we can use the following style :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
No comments:
Post a Comment