Creating proper page element style