I have a couple of controls on the page. One of which is a button, another is div with width: 100%. The button has position: absolute.
My buttons CSS -- just playing around with it for now:
.toggleButton
{
z-index: 99999999px;
position: absolute;
margin-top: 2px;
right: 130px;
}
The div is automatically generated, but here's its computed style:
background-color: transparent;
clear: both;
color: dimGray;
display: block;
font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 11px;
height: 26px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
min-height: 0px;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
position: relative;
width: 1026px;
I'm wondering how to place the button over the div. In its current state the button isn't able to be clicked in all spots. I'm not looking to restrict the width of the div, just place the button over it.