Questions tagged [hide]

Methods for hiding visual components, particularly with regard to HTML.

For hiding segments of webpages, several options exist, such as the setting CSS display property to none and hide method.

This tag is also used for hiding options in other graphical interfaces and generally applies to "hiding" any information.

4735 questions
27
votes
9 answers

Hiding an element that contains only spaces using CSS

I am trying to hide the following element in an automatically generated HTML document:

In some pages, the

tag will contain an inner value but in others it can contain only spaces as shown…

Andy Kaufman
  • 761
  • 3
  • 9
  • 21
26
votes
3 answers

Visual Studio 2013 Hide Notification Button

I have a question about Visual Studio 2013. I just installed it and it seems pretty good because of the new features. But there is something I do not like: Is it possible somehow removing these 3 x buttons ? Or just one of them?
24
votes
8 answers

Show Hide div if, if statement is true

My code works to a point. What I want is that when this if statement is false, the
doesn't show 0) { $fvisit =…
Christian
  • 243
  • 1
  • 2
  • 4
24
votes
6 answers

Hide sections of a Static TableView

I've found this tutorial which hides a section of a Static TableView: http://code-ninja.org/blog/2012/02/29/ios-quick-tip-programmatically-hiding-sections-of-a-uitableview-with-static-cells/ It works great but only without modifying it, if I add a…
Matte.Car
  • 2,007
  • 4
  • 23
  • 41
24
votes
5 answers

Hide "Rendering Problems" hint in android studio

Is there any possibility to hide the annoying popup in the xml editors preview which says there are rendering problems? It overlaps half of the preview
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
24
votes
2 answers

CSS: hide element but keep width (and not height)

display:none will completely hide an element as if it now had a width and height of zero visibility:hidden on the other hand will hide an element but reserve a rectangle of the element's original width and height in the document. Is there a way…
josch
  • 6,716
  • 3
  • 41
  • 49
24
votes
1 answer

Javafx 2 TreeView - hide root item

I created my own TreeView in JavaFX 2 with this tutorial. However I want to hide my root node. How it looks like right now: Root element Parent 1 Child 1 Child 2 Parent 2 Child 1 How it should look: Parent 1 Child 1 Child 2 Parent…
Muki
  • 3,513
  • 3
  • 27
  • 50
23
votes
3 answers

Objective-c - iOS - hide/unhide label, textfield etc

I want to hide/unhide controls of a subview in a view. For example: When a button action occurs, some labels will become hidden then unhide on a subsequent button action and so on. I have implemented this functionality through Interface Builder. How…
Firejs
  • 319
  • 1
  • 5
  • 10
23
votes
5 answers

CSS for hiding multiple columns in a table

I have a table similar to the one illustrated below in a SharePoint site. I cannot modify the table as it is generated dynamically but I can add external CSS to override its style. I am required to show only second column and hide first, third and…
Merin Nakarmi
  • 3,148
  • 3
  • 35
  • 42
22
votes
6 answers

C# hide and unhide comments

I am trying to find solution how to hide and unhide comments in VS2010. What i found is: # region comments for code #endregion and: http://holyhoehle.wordpress.com/2010/01/17/hide-comments-in-visual-studio/ but this one is not working in VS2010 or…
zee
  • 415
  • 1
  • 7
  • 13
22
votes
6 answers

Why does a virtual function get hidden?

I have the following classes: class A { public: virtual void f() {} }; class B : public A{ public: void f(int x) {} }; If I say B *b = new B(); b->f(); the compiler says error C2660: 'B::f' : function does not take 0 arguments.…
Oszkar
  • 662
  • 2
  • 7
  • 14
22
votes
2 answers

Hiding GetHashCode/Equals/ToString from fluent interface classes intellisense in Visual Studio for C#?

I have a fluent interface for an IoC container registration process, and this contains some classes that are used to build up the registrations. For instance, I can do this: builder.Register().From.ConcreteType(); However, at each step…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
22
votes
1 answer

How can remove Nginx from http response header?

I want to remove Nginx from http response header. I can Hide my Nginx version but I want to hide Nginx too. Thanks
sahar shokouhi
  • 681
  • 2
  • 8
  • 15
20
votes
2 answers

Angular 2: Can focusin and focusout be in one event?

Can focusin and focusout be in one event? What is it called, then? If not, is there a way to merge this in one function? hide(e:any) { $('.suggestion').hide(); } show(e:any) { $('.suggestion').show(); }
Char
  • 2,073
  • 8
  • 28
  • 45
20
votes
7 answers

jQuery hide and show toggle div with plus and minus icon

I have the code working for the show and hide the div. How would I add two different icons as a sprite image for when the show and hide are active? For example: + icon for show me, then a - icon for hide me. Here is the code, I have:…
pab
  • 971
  • 4
  • 17
  • 30