This site is designed for accessibility. Content is obtainable and functional to any browser or Internet device. This site's full visual experience is available in a graphical browser that supports web standards. Please consider upgrading your web browser.
Reference: CSS Enhancements in Internet Explorer 6 by Lance Silver.
Visible portion of the box (IE legacy) |
= width (no border or padding is counted) |
---|---|
Total width of the element box |
= width + margins (no border or padding is counted) |
Visible portion of the box (standards) |
= width + padding + borders |
Total width of the element box (standards) |
= width + padding + borders + margins |
Assume the following styles:
Visible portion of the box (IE legacy) see figure 2a |
= width (no border or padding is counted) so: |
---|---|
Total width of the element box |
= width + margins (no border or padding is counted) so: |
Visible portion of the box (standards) see figure 2c |
= width + padding + borders so: |
Total width of the element box (standards) see figure 2d |
= width + padding + borders + margins so: |