adjust styling to page, set display property to inline in render visibility function