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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:37

Menu inside a table: it does work! Here's how


Poster: SoTTo
Dated: Thursday May 30 2002 - 19:12:05 BST

After trying, go check the site (to find that it should work, & that there SHOULD be an example on the FAQ), and after reading the forum....
i got it working:
My menu in a cell of a table
This is how i done it:

Code:
<table>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
  <tr>
    <td>
        <SCRIPT>PlaceMenu("mainmenu")</SCRIPT>
        &nbsp;
    </td>
  </tr>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
</table>



Important is the &nbsp; AFTER the placemenu-call

What also works is this:
BUT: then in Internet Explorer the border of the tablecell won't be showed...and in netscape it does show
(that's because internet explorer doesn't have the capability to show empty cells...there's a css-thing that can enable/disable "show empty cells" in netscape i think)


Code:
<table>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
  <tr>
     <td valign=top>               
        <SCRIPT>PlaceMenu("mainmenu")</SCRIPT>
     </td>
   </tr>
</table>


Important is the valign=top