S
sheldonlg
I have a small test html program (www.sheldonlg.com/toggling4.htm) that
works fine. Clicking "Show" causes a block to appear at 200,200. The
Javascript handles this and causes the Show to change to hide.
My problem is that when I put this into my actual application,
everything works fine (including toggling and color changes, etc.)
except that the positioning is ignored. It appears in the position
where it was defined in the page (after another block) and causes the
rest of the page to be pushed down by that amount.
The css class is:
..showHide {
zIndex: 99;
transparency: 80%;
position: absolute;
top: 200px;
left: 200px;
background-color: #DDDDDD;
visibility:hidden;
}
What could cause just the positioning to be ignored?
works fine. Clicking "Show" causes a block to appear at 200,200. The
Javascript handles this and causes the Show to change to hide.
My problem is that when I put this into my actual application,
everything works fine (including toggling and color changes, etc.)
except that the positioning is ignored. It appears in the position
where it was defined in the page (after another block) and causes the
rest of the page to be pushed down by that amount.
The css class is:
..showHide {
zIndex: 99;
transparency: 80%;
position: absolute;
top: 200px;
left: 200px;
background-color: #DDDDDD;
visibility:hidden;
}
What could cause just the positioning to be ignored?