Board Logo

Negative block-left
PiatFranois - 2/19/2006 at 09:24 AM

When i a use a negative number for block-left in template.js ( 'block_left': -150, )
all is ok in IE, but not in Moz familly where the negative number
is taken for a positive number.

Any workaround ?


PiatFranois - 2/19/2006 at 11:09 AM

Problem is solved : the menu was absolutely positionned using a stylesheet. Replaced by a table.

But another question :
When i use block_top and block_left on level 0, the menu is not absolutely positionned (doc. page 9).
Is there a working exemple somewhere ?


tigra - 2/19/2006 at 03:53 PM

Using negative offset for the root level doesn't make much sense because at least part of the menu will become invisible. If block_top and block_left are removed from the root level configuration (demonstrated in many samples) the menu is positioned relatively, you can drop it in say table cell and put that table anywhere in the page.

PS. there should be no coorinates in the stylesheet file.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/