html - CSS positioning not working in the code editor -


i have simple problem. want navigation stay on top. know codes should be:

position: fixed; top: 0; left: 0; 

but problem is,whenever i'm inserting in dev mode(where write codes), doesn't change, in inspect element, working. question supposed use(class name or id or whatever suggest) can edit code.enter image description here

although question not clear me, think answers question:

give nav bar id in html:

<div id='nav-bar'></div> <!-- or <navigation> or <header> or whatever --> 

in css

#nav-bar {   position: fixed;   top: 0;   left: 0; } 

Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -

jquery - jqGrid update specific column data with out refreshing the entire column? -