<style> .header th { height: 2px; line-height: 2px; } <style> <table> <thead class="header"> <th>Foo</th> ... </thead> ... </table>