(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:
Bootstrap Select Placeholder Bootstrap Tabs Styles  |  Bootstrap Panel Body  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Bootstrap Toggle Tabs  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Maker | Free AI Website Generator | AI website design generator | AI web page design generator