0
Does any one know how to get a nav bar with side bar fixed on top which not cover the screen content
about HTML CSS and JavaScript
2 odpowiedzi
+ 5
Define a top margin to your <body> tag, at least equal to the height of your fixed nav bar...
Do same kind with left or right and width of side bar, with bottom and height if you want have a fixed element to the bottom...
But showing your code would be more efficient for getting accurate help ;)
+ 1
encapsulate the navbar in a div container and the content you don't want to cover in another div container