[thelist] css positioning...within <td></td>

McAtee, Malcolm MMcAtee at philamuseum.org
Fri Oct 26 09:31:10 CDT 2001


Aha!  tucked away in the javascript.....................

{
  var i, menuCount=14, menuLabel, menuX=0, menuY=109;
----------------------------------------^--------^----


  menuArray = new Array();
  for (i = 1; i <= menuCount; ++i) {
    menuLabel = document.getElementById('menuLabel'+i).cbe;
    menuLabel.moveTo(menuX, menuY);
    menuLabel.show();
    menuArray[i] = document.getElementById('menu'+i).cbe;
    menuArray[i].moveTo(menuLabel.left() + menuLabel.width(),
menuLabel.top());
    menuArray[i].menuLabel = menuLabel;
    menuY += menuLabel.height() + 0;
  }
I still get a approx. 5 pixel difference in NN6...but this is great!

Thanks for all the help!



//---------------//
Malcolm J. Mcatee
Web Designer
Philadelphia Museum of Art
215-684-7748
mmcatee at philamuseum.org
//---------------//

-----Original Message-----
From: Russell Griechen [mailto:russgri at bellsouth.net]
Sent: Friday, October 26, 2001 5:59 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] css positioning...within <td></td>


> I thought that nesting all of menu <div> s inside one container <div>
might
> do the trick.
> I have tried a few different options--I have either successfully
positioned
of the Web, evolt !

If you wrap the subsequent menus in span tags they will display inline

Alternatively, specify the position:absollute; left:0;, left:150; etc



---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list