Adjusted dynamic page to ba able to use % px or neight, defaulting to px