Menu will not align center
I can not get my menu to align in the center of the page no matter where I try to tell it to align. I read some things on chaning the float: left to display: inline. That didn't help either. Any ideas???
index3.html
I can not get my menu to align in the center of the page no matter where I try to tell it to align. I read some things on chaning the float: left to display: inline. That didn't help either. Any ideas???
index3.html
Two ways you could try:
1. Add a cell before the menu cell to force it to the right (you would need to remove the width or adjust the width of the cell containing the menu). Change lines 44 and 45 of your code to read:
<tr align="center"><td width="105"></td>
<td align="center">
OR
2. Centre the menu in a new div. Add div tags before and after your 'include (require_once):
<div id="menu">
<?php require_once("CSSMenuWriter/cssmw12/menu.php"); ?>
</div>
then add the following css style to the head of your document (in code view), say after line 12:
<style type="text/css" media="all">
#menu {
width: 825px;
margin:auto;
}
</style>
<div id="centered_MenuBar">
<ul id="MenuBar">
<li>list element 1</li>
<li>list element 2</li>
<li>list element 3</li>
</ul>
</div>And the CSS rule will be:
#centered_MenuBar {
widht: 600px;
margin-left: auto;
margin-rigt: auto;
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.