Menubar should display only when screen resolution is 800x400 in html,css -


I have a menu bar in the html page, it should only be shown when the screen resolution is 800x400px. How to obtain this: Do not use css3 / css only by using javascript.

You should first put the menu bar Display: Any and then something like that

  @ Media All and (width: 800 px) and (height: 400 px) {#menubar {display: block; }}    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -