8.12. Using Percentages for Table Width

You can specify the size of a table using percentage instead of pixels. As a result, the table automatically adjusts to fit a user's browser window size.

When you define a table size as a percentage, it adjusts to fill that percentage of a user's browser window. If the new table is inside another table or other container, it adjusts within the container's boundaries

Using Percentages for Table Width

Set Table Width As a Percentage

Position where you want to insert the table.

By default, the cursor snaps ...

Get Teach Yourself Visually™ Adobe® Dreamweaver® CS5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.