display inline block remove space between divs code example Example: css remove whitespace around element body { margin:0px; } header { border:1px black solid; }