improved view element attribute and style setting values