vendredi 30 novembre 2018

Bootstrap adds inline code for my dropdown

I have a site with a navbar in Bootstrap. In this navbar I have a dropdown. The problem ? I have

style="display: block;"

who displays lonely but there isn't that in my site's code. Here's an example : Example1

(This image is when I loaded the page, I didn't click anywhere)

Now let's see Firefox's HTML inspector : Example2

Do you see the "style="display: block;"" ? This isn't in my initial code.

Now let me show you my code in VSCode :

Example3

I don't know how to and I don't know where does the problem comes from.. I don't know why this attribute is added in my tag...

P.S : there isn't CSS or JS who modifies the tag...

See by yourself the problem by checking my GitHub repository and my page :

https://github.com/discodefr/discodefr.github.io/

https://discodefr.github.io/

Thank you very very much for your help !




Aucun commentaire:

Enregistrer un commentaire