Hide HTML element by id

前端 未结 6 1160
执念已碎
执念已碎 2020-12-29 04:38

Hopefully there\'s a quick and dirty way to remove the \"Ask Question\" (or hide it) from a page where I can only add CSS and Javascript:

  
6条回答
  •  有刺的猬
    2020-12-29 05:25

    I found that the following code, when inserted into the site's footer, worked well enough:

    
    

    This may or may not require jquery. The site I'm editing has jquery, but unfortunately I'm no javascripter, so I only have a limited knowledge of what's going on here, and the requirements of this code snippet...

提交回复
热议问题