Lastname. As such, if you apply the width attribute to the HTML table tag or inline width style ( … Use CSS instead. Learn how to create a full-width table with CSS. The nav will be variable in both dimensions as well, but we are going to impose a minimum width of 200px on it. HTML & CSS. The 3 elements altogether is redundant if you are using IE. The example below sets the width of the table to 100%, and the height of the However, you can also set the width and height of the table as well as its cells explicitly using the width and height CSS property. However, if you want to control the width of each column, you can do so by adjusting the width of each