To keep your cookbooks upright and prevent them from toppling over, use bookends or dividers. This will not only keep your cookbooks neat but also make it easier to browse through them.