|
Is it possible to keep my floating page drop down menu in the centre of the page like <centre></centre>
Return to Recent Questions
Q:
Hi, I am testing your page drop down menu system for my company and would like
to know how to keep the page drop down menu in the centre of the page like
<centre></centre>. I know how to do it without a floating page drop down menu but
cannot work out how to do this when I use absolute position for the page drop down menu.
A:
To center your floatable [menu] you should set absolute coordinates.
When you use floatable page drop down menu 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 page drop down menu you use <p> or <div> with the center alignment your [ke] won't float.
Return to Recent Questions
|