Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#112754
wolfcry911
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).