Added correction to legal range, and tagged display to inline-block to handle the resulting blocks