clip and relative positioning

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Blume

    clip and relative positioning

    i have a dynamic menu that shoots out horizontal submenus when
    graphics on the left are rolled over. i'm using <div> layers and
    manipulating their visibility properties to do this. the problem i'm
    having is when all submenus are invisible, any weblinks or buttons i
    have to the right of the menu are inactive. the space used for the
    layers seems to be covering this up. i've tried to clip the layer but
    it only seems to work if the layer's position is set to absolute, and
    i need it to be relative. can clipping work with realtive
    positioning? if not, is there an alternative?
    thanks,
    jb
  • Ivo

    #2
    Re: clip and relative positioning

    "Jeff Blume" wrote[color=blue]
    > i have a dynamic menu that shoots out horizontal submenus when
    > graphics on the left are rolled over. i'm using <div> layers and
    > manipulating their visibility properties to do this. the problem i'm
    > having is when all submenus are invisible, any weblinks or buttons i
    > have to the right of the menu are inactive. the space used for the
    > layers seems to be covering this up. i've tried to clip the layer but
    > it only seems to work if the layer's position is set to absolute, and
    > i need it to be relative. can clipping work with realtive
    > positioning? if not, is there an alternative?
    > thanks,
    > jb[/color]

    Clipping only works for absolutely positioned elements. Try setting
    "display:no ne" instead of "visibility:hid den" so the div's are not only
    removed from view but from existance.
    HTH
    Ivo


    Comment

    Working...