Redundant space

Peter_1985 2,686 Reputation points
2021-09-24T10:10:08.243+00:00

Hi,
How to remove redundant space below, to the project?
https://1drv.ms/u/s!Ai8CrEskdewXwVGoeThXtZ48H8kB?e=qZdsr2

135043-5g.png

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,497 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lan Huang-MSFT 29,666 Reputation points Microsoft Vendor
    2021-09-27T03:05:19.757+00:00

    Hi @Peter_1985 ,
    The reason for this problem is that you set the visibility property to "hidden".
    An element can be hidden by setting the display property to "none" or the visibility property to "hidden".
    Note, however, that these two methods will produce different results.
    visibility:hidden can hide an element, but the hidden element still needs to occupy the same space as before.
    display:none can hide an element, and the hidden element will not take up any space.

    Modified result:135383-1.png


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.
    Best regards,
    Lan Huang


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.