Home › Forums › CSS › Fullscreen website "jumps" when form is submitted › Re: Fullscreen website “jumps” when form is submitted
May 17, 2010 at 11:12 am
#75876
biklops
Participant
That’s cuz I fixed it!
The solution centered around Safari vs. Firefox’s interpretation of position:absolute vs. position:fixed.
Via Paul O’B @ Sitepoint:
Quote:
Hi,
The jump seems to be where the document tries to scroll to the highlighted item via the fragment identifier.
Code:
Code:
You could try and set the box to position:fixed and then the scroll would be inside the box.
Code:
Code:
#colorbox{position:fixed}
* html #colorbox {position:absolute;}
* html #colorbox {position:absolute;}