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:

There are 2 solution :
1. We can set as display none for them using the following style :

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 :


It works fine now, without any extra space on chrome.
Thanks,
Danan

No comments:

Post a Comment