resizing the website to fit different devices

Keeping everything between the vertical grid lines leaves a lot of space on both sides and does not look appealing. Is there any other way to ensure that websites look good on all devices?