css formatting + added type attr to <style>