majorj0nny
07-13-2007, 08:54 AM
Ive added a panic button to my site but the location of the button itself is a little messy ... I can see how I can move it statically about the screen - but is there a way of having it floating in a corner when the screen in scrolled?
heres the code from the css :
/* ***** Panic Button Location***** */
.panicbutton {
position: float;
position: expression("absolute");
right: 10px;
bottom: 10px;
}
also its supposed to appear bottom right - which it does for most users, but for Safari and some Firefox users its showing up top left ??
right ... just noticed I was messing about with this and changed 'fixed' to 'float' in some lame attempt ..
ive changed it back to 'fixed' and its now working in safari as in its floats in bottom right corner - how I want it for everything ... but in IE7 its still refreshing to the bottom right - but on scrolling it drags up with the rest of the page ???
heres the code from the css :
/* ***** Panic Button Location***** */
.panicbutton {
position: float;
position: expression("absolute");
right: 10px;
bottom: 10px;
}
also its supposed to appear bottom right - which it does for most users, but for Safari and some Firefox users its showing up top left ??
right ... just noticed I was messing about with this and changed 'fixed' to 'float' in some lame attempt ..
ive changed it back to 'fixed' and its now working in safari as in its floats in bottom right corner - how I want it for everything ... but in IE7 its still refreshing to the bottom right - but on scrolling it drags up with the rest of the page ???