@media (min-width:901px) { .table { display: table; } .table-row {display: table-row; } .table-cell {display: table-cell; } .toc { display: block; width: 48%; float: right; margin-left: 2%; font-size:95%; line-height: 125%; } .description { display: block; width: 48%; float:left; } } @media (max-width: 900px) { .toctitle { padding: 1px; } .toc { float: none; background-color: yellow; text-align: left; font-size:95%; line-height: 125%; } span { text-align: left; } }
Vorlage:Styles-test.css
Aus Securepoint Wiki