html - Div Disappears when given Fixed Position -
i working on website @ www.thejasonsanders.com , whenever try give div fixed position in of sections aside first 1 ("homepage"), div disappears. have tried can think of correct issue , nothing seems resolve it. so, turning number 1 resource in these types of matters!
i testing image in "portfolio" section under divs "portdiv" , portdiv2" same styling main logo image. main logo image in homepage section fixed positioning , displaying correctly. again, when image placed in 1 of other sections things start acting weird. can please me figure out going on?
thank time , help!
when div given fixed position , it's outside of viewport doesn't exist. think that's problem you're facing. here's quick demo. notice when make browser window taller , shorter <img>
s disappear. want use position: absolute
? sorry if i'm way off.
Comments
Post a Comment