Redundant space

Peter_1985 2,826 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

Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Lan Huang-MSFT 30,206 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.