MARCELO Posted January 30, 2018 Share Posted January 30, 2018 What s the name of menus like the one used in this website: www.zulu8.com.au In this kind, you may keep scrolling down, but the menu will always be shown on the top of the screen. Link to comment Share on other sites More sharing options...
dsonesuk Posted January 30, 2018 Share Posted January 30, 2018 A fixed or sticky menu. Link to comment Share on other sites More sharing options...
MARCELO Posted January 30, 2018 Author Share Posted January 30, 2018 THANKS. BUT IF I WANT THE LOGO OF THE COMPANY AND NOT ONLY THE MENU....IS IT POSSIBLE? Link to comment Share on other sites More sharing options...
dsonesuk Posted January 30, 2018 Share Posted January 30, 2018 Yes! anything in the position: fixed element container that contains the menu is fixed also. Link to comment Share on other sites More sharing options...
MARCELO Posted January 31, 2018 Author Share Posted January 31, 2018 sorry.....what? Link to comment Share on other sites More sharing options...
dsonesuk Posted January 31, 2018 Share Posted January 31, 2018 https://www.w3schools.com/code/tryit.asp?filename=FO133WMN1LUP The position: fixed; nav element (container element) with property top:0; forces IT, menu items, and if you add image like I have done within IT, to be fixed to top of browser window. 1 Link to comment Share on other sites More sharing options...
MARCELO Posted January 31, 2018 Author Share Posted January 31, 2018 (edited) Right! Thank u very much!!!!!!! Just one thing: is it possible to start the menu with the picture, in the example you gave me? i tried to change your code so i could have PICTURE - HOME - NEWS - CONTACT - , instead of - HOME - NEWS - CONTACT- PICTURE . Although it might seem simple, i spend some time without success Edited January 31, 2018 by MARCELO Link to comment Share on other sites More sharing options...
dsonesuk Posted January 31, 2018 Share Posted January 31, 2018 Because all the menu anchor links are floated left, any non float: left; element placed at beginning will be forced right by these elements. So make it float: left; also. 1 Link to comment Share on other sites More sharing options...
MARCELO Posted January 31, 2018 Author Share Posted January 31, 2018 MANY THANKS!! IT WAL VERY HELPFUL! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now