I'm trying to align an iFrame to the bottom right corner of the browser window using CSS. Initially, the following code seems to do the trick.
However, if the page containing the iFrame has a horizontal scroll bar, the iFrame does not adjust its vertical position accordingly.
.iframe {
position: absolute;
top: 100%;
right: 0%;
width: 535px;
height: 380px;
margin-top: -400px;
margin-right: 20px;
z-index: 999;
}
Is there a way to consistently keep the iFrame aligned to the bottom of the browser window?