get rid of blank space aroujnd text html code example Example: css remove whitespace around element body { margin:0px; } header { border:1px black solid; }