S
Shannon Cayze
Hello all,
Is there a way to hover one HTML element over another and reliably
position it within the page? I know how to set the z-index and
position style attributes to get the element to hover, but positioning
it accurately is another issue.
I got it to work in a standard HTML page, but when I sent that page to
my client they imported it to SharePoint. Since SharePoint adds
additional content to the page, all of my elements that were
absolutely positioned were offset. Also, since the z-index was set
manually, using javascript to set the position based on the
offsetParent doesn't work (I can't iteratively retrieve all offset
parents).
Is there a way to hover an element over another without setting the "z-
index" and "position" style attributes so that it maintains the same
parent structure?
Thanks,
Shannon
Is there a way to hover one HTML element over another and reliably
position it within the page? I know how to set the z-index and
position style attributes to get the element to hover, but positioning
it accurately is another issue.
I got it to work in a standard HTML page, but when I sent that page to
my client they imported it to SharePoint. Since SharePoint adds
additional content to the page, all of my elements that were
absolutely positioned were offset. Also, since the z-index was set
manually, using javascript to set the position based on the
offsetParent doesn't work (I can't iteratively retrieve all offset
parents).
Is there a way to hover an element over another without setting the "z-
index" and "position" style attributes so that it maintains the same
parent structure?
Thanks,
Shannon