English 中文(简体)
jquery .hide use{visibility:hidden;} is there otherwise using{display:none;}
原标题:jquery .hide uses {visibility:hidden;} is there alternative using {display:none;}

根据我的理解,在分类用途(css)中使用<条码>。 是否有使用<条码>{显示:无;}的替代物?

∗∗∗∗∗ 项目仍在讨论星号,如<代码>{>:无;<>/代码>。 它隐瞒了该项目,没有占用任何屏蔽的空间。

最佳回答

Nope, jQuery.hide () set the show to no, here is evidence FIDDLE

问题回答

我仅对jquery代码进行双重检查,并确认.hide 。 严格使用<条码>、 财产,将其编号为none

$(el).hide() uses display:none

您也可以创建自己的藏匿的物品类别,并增加/消除使用jquery .addClass(藏匿)或toggle的物品。 班级(藏匿)

<代码>hide(> >将该要素的中央支助事务确定为display:none;





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签