<style> #a1 { background: white; text-align: left; } #b1 { color: blue; } #a2 { background: blue; text-align: left; } #b2 { color: white; } </style>