(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 can I center my navigation java script menu bar within my HTML page?

Return to Recent Questions


Q: How can I center my navigation java script menu bar within my HTML page? I have tried putting the script into a table that is centered. I have also changed the var menuWidth to 800px. The navigation bar is still right-justified instead of centered in both IE and Firefox/Mozilla.

A: Now you use absolute position for the java script menu bar:

var absolutePos=1;
var posX="0px";
var posY="0px";


You should set:
var absolutePos=0;






Return to Recent Questions

Related:
Most Suitable 11 Best Wix Alternatives Website Creators How To Embed Instagram Feed  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Best Free QR Code Generators 2023  |  Greatest 11 Free Wordpress Alternatives Tools  |  Effective Link in Bio Services  | 
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 Builder | AI Website Generator | AI Website Generator | AI web design generator