Understanding - HTML margins |
Topic status automatically displays here - do not remove.
This topic explores the curious behaviour of HTML margins, which are a property of all HTML display elements like:
pages <body>
divisions <div>
tables <table>
table rows <tr>
table cells <td>
images <img>
horizontal rules <hr>
others??
[Col: Explore and document the strange behaviour of the right margin of an element which pushes out the right margin of a parent. For example, the 5px setting of the p.copyright rule pushes out the width of the parent div#PageDiv element in the topic EnglishWeightsMeasures.htm.]
Note
The basic structure of an HTML table is described in
Understanding HTML Tables.
Lotech Solutions' Tips, Tricks, and Procedures
Copyright Lotech Solutions. All rights reserved.