How to Set the Font Size & Line Height on a Table
Formatting text within a table can be more complex than formatting a typical paragraph because each additional row and column in the table adds an increasing number of individual cells that may maintain their own formatting defaults. Whether you're working with a table in Microsoft Word or on your own personal website, techniques for formatting the entire table can make it easier to enter text that maintains the correct font size and line height across the entire object.
Instructions
-
Microsoft Word
-
1
Hover your mouse over the table until you see a square image, with arrows extending in four directions, in the upper-left corner of the table. Click on that square to highlight the entire table.
-
2
Select your desired font size from the font size drop-down menu on the "Home" section of the Word ribbon. This will change the default font size across the entire table.
-
-
3
Click on the line height button in the "Paragraph" section of the "Home" section of the Word ribbon. This button is usually immediately to the right of the text alignment buttons. Choose your desired line height from the drop-down options, such as 1.5 or 2.0. Choose "Line Spacing Options" to specify your own custom line height.
HTML With CSS
-
4
Open an editable HTML version of your Web page. Consult your website provider if you are unsure how to locate this file. Usually, this involves right-clicking on the file ending in ".htm" or ".html" and choosing "Open With" a text editing program such as Notepad or Wordpad.
-
5
Locate the <TABLE> tag. Press "Ctrl" and "F" to search the document if you have trouble locating this opening tag.
-
6
Replace <TABLE> with the following:
<TABLE STYLE="line-height:1.5;font-size:12px;">
Replace "1.5" with your desired line height. Replace "12" with your desired font size.
-
7
Save your HTML file. The entire table should appear with the new font size and line height properties.
-
1