Template:ItemDisplayCSSAttributes

Usage
This template injects the base CSS attributes used in Item Display templates

Examples
=

Categorization
No categories injected by self

/* classes used on Item Display pages */ table.ItemDisplayOuterTable { width: 100%; /* set the outer table to expand width to maximum allowed */ border-collapse: collapse; /* this gets rid of ~1px extra margin between outer table and inside tables */ } table.ItemDisplayOuterTable tr { vertical-align: top; /* this will top align both details side and images side */ } table.ItemDisplayOuterTable td { width: 100%; /* set cells to expand to fill parent block element */ }

table.ItemDisplayDetailsTable { width: 100%; /* set details table to expand to fill parent block element */ } table.ItemDisplayDetailsTable th { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; /* border: 2px outset; */ white-space: nowrap; vertical-align: middle; } table.ItemDisplayDetailsTable td { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; /* border: 2px outset; */ }

table.ItemDisplayImagesTable { width: 100%; padding-top: 10px; padding-bottom: 10px; } table.ItemDisplayImagesTable tr { } table.ItemDisplayImagesTable td { padding-left: 10px; padding-right: 10px; padding-top: 15px; padding-bottom: 15px; }