This seemed to work out well, it is partly from a dd script but, this bit only involves style and layout, and partly from yours truly. Put this style in the head:
Code:
<style type="text/css">
.centerdiv{ /*IE method of centering a relative div*/
text-align: center;
}
.centerdiv>div{ /*Proper way to center a relative div*/
margin: 0 auto;
}
</style>
In you HTML, for this:
Code:
<p align="center">
<div style="position: absolute; width: 449px; height: 24px; z-index: 1; left:270px; top:144px" id="layer1">
<!-- DO NOT MOVE! The following AllWebMenus code must always be placed right AFTER the BODY tag-->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** -->
<span id='xawmMenuPathImg-menu' style='position:absolute;top:-50px'>
<img name='awmMenuPathImg-menu' id='awmMenuPathImg-menu' src='awmmenupath.gif' alt=''></span>
<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [2]', awmBN='GN'; awmAltUrl='';</script>
<script charset='UTF-8' src='menu.js' language='JavaScript1.2' type='text/javascript'></script>
<script type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR menu ******** --></div>
Substitute this:
Code:
<div class="centerdiv">
<div style="position: relative; width: 478px; height: 10px; z-index: 1;margin-top:-25px" id="layer1">
<!-- DO NOT MOVE! The following AllWebMenus code must always be placed right AFTER the BODY tag-->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** -->
<span id='xawmMenuPathImg-menu' style='position:absolute;top:-50px'>
<img name='awmMenuPathImg-menu' id='awmMenuPathImg-menu' src='awmmenupath.gif' alt=''></span>
<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [2]', awmBN='GN'; awmAltUrl='';</script>
<script charset='UTF-8' src='menu.js' language='JavaScript1.2' type='text/javascript'></script>
<script type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR menu ******** --></div></div>
Bookmarks