Setting the Width for HTML Output

The challenge to creating output for the Web is that the people who view your results will be using a variety of browsers on a variety of screen sizes and resolutions. HTML is a great tool for handling this, as it can adjust the width of various objects to the width of the browser window. This automatic behavior is great for fitting output on the screen, but what it means is that your results will look different depending on the size of the browser window. For example, in Figure 16.16, the table of contents is too narrow and some of the labels wrap awkwardly because the browser window was too small. This might be fine for your purposes. However, if you would like your output to look the same wherever it is viewed, ...

Get Output Delivery System: The Basics and Beyond 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.