(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

Website Builder for nonprofits and therapists Website Builder for portfolio and SEO  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Website Builder For Kids & Musicians  |  Best Website Builder for podcasts and affiliate marketing  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Generator | AI Website Generator | Website Generator AI | AI website design generator