Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 45577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:49:52+00:00 2026-05-10T15:49:52+00:00

The CSS rules visibility:hidden and display:none both result in the element not being visible.

  • 0

The CSS rules visibility:hidden and display:none both result in the element not being visible. Are these synonyms?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:49:53+00:00Added an answer on May 10, 2026 at 3:49 pm

    display:none means that the tag in question will not appear on the page at all (although you can still interact with it through the dom). There will be no space allocated for it between the other tags.

    visibility:hidden means that unlike display:none, the tag is not visible, but space is allocated for it on the page. The tag is rendered, it just isn’t seen on the page.

    For example:

    test | <span style='[style-tag-value]'>Appropriate style in this tag</span> | test 

    Replacing [style-tag-value] with display:none results in:

    test |   | test 

    Replacing [style-tag-value] with visibility:hidden results in:

    test |                        | test 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to make some CSS rules visible only for Opera?
How can I add a set of CSS rules like F.I. opacity:0.94; outline:none; content:;
why CSS rules do not cascade down automatically to HTML controls like input or
I have an element with some CSS rules applied as follows: <span class=rule1 rule2
Is it possible to retrieve all of the CSS rules applied to an element,
Is there a way to select all CSS rules of an element with JavaScript?
W3 specifies that only four CSS rules are allowed for table columns (with the
Are unused CSS images downloaded by the browser or ignored? Eg. in CSS rules
I'm having the weird problem that after having javascript inject some dom-elements the css-rules
I have defined a fieldset in HTML, and applied the following (simple) CSS rules

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.