Because this HTML tag does not show the link, only when I take the style="display: none;" [closed]

-4

I'm doing a tour in my admin area, but it does not work when I send it to the server. In the project of the boy in the GIT in the site where I downloaded it works perfectly

The tag is this:

<a href="#" id="tour" style="display: none;" >Tutorial</a>
    
asked by anonymous 27.09.2016 / 03:07

2 answers

0

display: none; is the css hiding the style property is just to add the direct style in the element

    
27.09.2016 / 03:11
1

The display: none function simply hides the element in question. The name itself already speaks "none."

You 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>
    
27.09.2016 / 03:19