The dotted lines show the printable area of a layout. If you're not printing this layout, you don't need to worry about it.
If you are going to print, under the File drop down menu, choose Page Setup and set your page settings to match the paper you're going to print on.
And is this layout setup for printing in a single column or multiple columns? That can also be a factor here.