Because this HTML tag does not show the link, only when I shoot the style="display: None;"

Asked

Viewed 72 times

-4

I’m doing a tour in my administrative area, but it doesn’t work when I send it to the server. In the boy’s GIT project on the site where I downloaded it works perfectly

The tag is this:

<a href="#" id="tour" style="display: none;" >Tutorial</a>
  • Welcome to SOPT. This site is not a forum. Take the [tour] and read [Ask]. Then click [Edit] to improve your question and make your difficulty clearer.

2 answers

1

The function of display: none simply hide the element in question. The name itself already speaks "None" (nothing, none).

Can put display: block, to solve or simply take that style.

<a href="#" id="tour" style="display: block;" >Tutorial</a>

or

<a href="#" id="tour">Tutorial</a>

0


display: None; is the css concealer the style property is only to add the style directly into the element

  • And how would I solve it ?

  • Actually I didn’t understand your problem, but to make the element visible just replace the "None" by the "block" or remove this tag.

  • I wanted to do this here man http://www.jqueryscript.net/other/Easy-Interactive-Visual-Tour-Plugin-For-jQuery-mytour.html

  • Already tried to use the code below the example, display None in a link does not make sense, unless q it is in the element that will appear, as I saw in the example, there is the None display for the initial effect, but in your case I believe q the problem is another.

  • Natan Melo, but there in the part How to use, does not have this display: None;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.