get rid of space between two elements in css code example Example: css remove whitespace around element body { margin:0px; } header { border:1px black solid; }