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