(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How to keep my floating html menu in the centre of the page like <centre></centre>

Return to Recent Questions


Q: Hi, I am testing your menu system for my company and would like to know how to keep the menu in the centre of the page like <centre></centre>.
I know how to do it without a floating menu but cannot work out how to do this with it floating.


A: When you use floatable menu you can't use relative menu position.
So, if you use

var absolutePos = 0;

and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.





Return to Recent Questions

Best 18 Landing Page Bootstrap Theme Roundup Bootstrap Alert Colors  |  Top Mindblowing HTML Image Slideshow Ideas  |  Free and Easy Website Builder  |  Bootstrap Table Template  |  Offline Mobile Website Builder Software  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Builder | AI Website Maker | Website Generator AI | AI web design generator