Is it possible to keep my floating down menu script in the centre of the page like <centre></centre>
Return to Recent Questions
Q:
Hi, I am testing your down menu script system for my company and would like
to know how to keep the down menu script in the centre of the page like
<centre></centre>. I know how to do it without a floating down menu script but
cannot work out how to do this when I use absolute position for the down menu script.
A:
To center your floatable [menu] you should set absolute coordinates.
When you use floatable down menu script you can't use relative position for the menu.
So, if you use
var absolutePos = 0;
var posX="10";
var posY="50%";
and to center the down menu script you use <p> or <div> with the center alignment your [ke] won't float.
Return to Recent Questions
|