Home › Forums › CSS › Same WP theme, one site looks as expected in Safari/Chrome the other the margin is off › Re: Same WP theme, one site looks as expected in Safari/Chrome the other the margin is off
October 27, 2012 at 9:00 am
#112754
Participant
The difference between the two sites is the length of the navigation – concord’s nav is shorter and will fit to the right of the floating logo. Sancarlos’ nav being longer must start below the floating logo and the negative margin pulls it back into place. An easy solution is to just position the header#logo absolute, taking it out of flow and not affecting the following floats. Then use the 50px top margin (and not the -25px).