1

With responsive designs, I heard we should use "%" instead of fixed measurements like "px" . But it doesn't work how it should with margin? I have a logo and links underneath it. I added margin-bottom: 2% underneath it and it looks perfect from pc But the links still overlap kinda in mobile. What to do?

RhinoFreak
  • 99
  • 7

2 Answers2

1

You have a negative margin on #page-header of -16px which is pulling the links back up...

Joe Czucha
  • 4,123
  • 2
  • 20
  • 28
0

Float your logo to force margin-bottom to work or use padding-bottom instead.

Kevin Choppin
  • 375
  • 1
  • 8