Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Centering menu in a table -Here is the answer
Junior Member

Posts: 4
Registered: 10/20/2006
Member Is Offline
posted on 10/26/2006 at 04:10 AM Reply With Quote
Centering menu in a table -Here is the answer

To center a menu on a page:
create a table equal to the width of your menu. (The table should be centered on the page).
The text in the table should be left justify.
Insert a new layer in the table, and put your menu on this layer.

You can see the result at:
(click on the menu "links")

here is an example:

<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpll.js"></script>
<link rel="stylesheet" href="menulink.css">

<div align="center">
<table border="0" width="658" height="24" id="table1"><tr><td>
<div style="position: absolute; width: 100px; height: 100px; z-index: 1" id="layer1">

<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);



View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004