css top attribute behaviour in Firefox and Chrome -


i have problem related css 'top' attribute of foundation modal. have long list of anchors , when click in each anchor, modal opened. have css top attibute set 100px.

when use chrome, if in bottom of list , click in 1 of last anchors, modal appears @ 100px of top of screen, i.e @ 6356px of top of body. however, using firefox, when click in 1 of these last anchors, modal appears @ 100px of top of body, have scroll see modal. can make firefox behave chrome?


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -