Visual problem with Bootstrap [closed]

0

I have a problem with Bootstrap, what happens is that in the system that I am developing has a menu that loads the forms in the MasterPage but if you click on the <li></li> in the menu of the form that is already open, the screen goes up as if the elements had a TOP -70 to explain me better.

This is not solved by reloading the page, only if I give it back in the browser it is solved.

    
asked by Alejandro Gonzalez 11.04.2016 в 18:00
source

1 answer

1

Without some code is difficult but I will venture to pose the situation where you are also using jQuery where you could use something like:

$(document).ready(function (){
    // si son enlaces dentro del li debería haber un tag <a href="enlace">Texto</a> de lo contrario en la función siguiente reemplazar 'a' por 'li'
    $('a').on('click', function(e){
        e.preventDefault();
    });
});
    
answered by 13.04.2016 / 09:25
source