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

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -