Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:05

Positioning with CSS


Poster: coolman
Dated: Wednesday May 17 2006 - 1:17:55 BST

I have been trying to figure out how to position this menu for a long time now. I know that you can position it by the left and top variables; however it looks different across internet browsers. For example I can get it aligned to where I want it in internet explorer and then when I open it up in Firefox it’s out of alignment. I preferably want to position it using css, my entire page is built with css. Can you help me? Thank you for your time.


Poster: coolman
Dated: Wednesday May 17 2006 - 19:52:47 BST

this works


<div id="header">

<table border="0" width="720" height="93" cellpadding="0" cellspacing="0">
<tr width="100%" align="right">
<td valign="bottom">
<SCRIPT type="text/javascript" src="milonic_src.js"></SCRIPT>
<param copyright="JavaScript Menu by Milonic http://www.milonic.com"></param>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>

<SCRIPT type="text/javascript" src="menu_data.js"></SCRIPT>
<SCRIPT TYPE="text/javascript">
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("image=home.jpg;overimage=home.jpg;url=http://www.google.com;");
aI("image=contact.jpg;overimage=contact.jpg;showmenu=CONTACT US;");
aI("image=portfolio.jpg;overimage=portfolio.jpg;showmenu=PORTFOLIO;");
aI("image=mission.jpg;overimage=mission.jpg;showmenu=MISSION STATEMENT;");
}
drawMenus();
</SCRIPT>
</td>
</tr>
</table>

</div>


Poster: Migru
Dated: Thursday May 18 2006 - 15:10:14 BST

Quote:
this works


maybe it works, but it is not as recommended.

Please see:
PAGE INTEGRATION OF JS-FILES / SCRIPTS
http://www.milonic.com/integration.php

Embedding a menu inside a table cell
http://www.milonic.com/tablemenu.php


this should help
Michael


Poster: coolman
Dated: Thursday May 18 2006 - 20:43:12 BST

im not sure what you mean, i think i put it in a table cell already. As far as <div id="header">, i had to put the menu in there becuase my whole site is design with css. it seems to work well. do you think it will give me problems? thank you for reading my post.


Poster: Migru
Dated: Friday May 19 2006 - 10:16:08 BST

You have erverything in the td cell, and that is exactly something wihich will not work everywhere - considering cross-browser capability -
Please see relevant url above and hava a look at that page.

Michael