Skip to main content
8 events
when toggle format what by license comment
Apr 5, 2016 at 17:55 comment added lucian "Google itself uses display: none in its HOME PAGE, so it can't really be a problem using it" Don't know if it's actually a problem or not, but this looks like a dangerous line of reasoning, as Google is not trying to... rank on itself.
Oct 22, 2012 at 13:06 comment added Andy @user568458 I think that's the point being made by Eric Enge in the last paragraph of the question, and by Dan Diplo in the accepted answer.
Oct 22, 2012 at 10:11 comment added user56reinstatemonica8 @Andy - Is it even logically possible for a search engine to read thousands of lines of javascript and identify cases where it's logically impossible for an element to be shown? It would take some immense reverse-engineering to study the code of any site with one line that says $('.'+somevar).show(); and figure out every possible value somevar could have and compare that to every possible state of the DOM - and that's an exceptionally trivial case... Also, plenty of cases where a div won't be shown due to data, input, API/AJAX call results, user behaviour, etc, but logically could...
Sep 19, 2010 at 14:03 comment added Andy The only example I can think of is when you're using a CMS and for time reasons you might want to use CSS to hide one or two small bits of markup, rather than custom theming the markup away entirely. (And I'm only asking the Q to understand the current situation better - my CMS of choice is Drupal, where altering the markup is quick and easy.)
Sep 16, 2010 at 8:32 comment added Marco Demaio @Andy: never visible elements are supposed to be just SPAM, I don't see why you should use never visible elements, why bothering placing them in HTML page then? So I would expect using them is not a good idea. Google might be able to detect them now or in future and penalize your site.
Sep 14, 2010 at 18:57 comment added Andy Thanks Marco. That still leaves questions of whether you can use display: none on elements that are never visible.
Sep 14, 2010 at 17:06 history edited Marco Demaio CC BY-SA 2.5
added 2 characters in body; added 5 characters in body; added 18 characters in body; deleted 1 characters in body
Sep 14, 2010 at 14:48 history answered Marco Demaio CC BY-SA 2.5