Margin-top randomly being calculated differently
-
My wordpress theme has a menu bar along the top below the header image. Every once in a while, without any change to theme code, the menu will be positioned incorrectly. When it happens, it happens across the board and for no reason that I am able to figure out.
here is the rule that positions it:
#header {position:relative; z-index:9999; background:url('../includes/rgba.php?name=black&a=20'); background:rgba(46,124,192,1); border-top:1px solid rgba(0,0,0,0.8); border-bottom:1px solid rgba(0,0,0,0.8); margin-top:156px; heigh t: 32px; }
Just a few weeks ago I had margin-top at 176px. The other day I had to change it to 156px in order for it to be positioned in the spot that it was before. I made absolutely no changes to the parent element in any way. What could be causing this? Thanks!
- The topic ‘Margin-top randomly being calculated differently’ is closed to new replies.