abcd
abcd
abcd
abcd
abcd
Otwórz w trybie kompatybilności.

Kod

<!DOCTYPE html>
<html lang="pl">
<head>
    <meta charset="UTF-8">
    <style>
        header {
            background: #e09994;
            height: 80px;
            padding: 20px;
            text-align: center;
            font: 1.3em tahoma, sans-serif;
        }

        main {
            background-color: green;
            width: calc(60% - 4px); /*minus 2 border*/
            height: 300px;
            float: left;
            border: solid red 2px;
        }

        aside {
            background-color: rgb(119, 195, 224);
            width: 20%;
            height: 304px; /*plus border 2*/
            float: right;
        }

        footer {
            background: #699963;
            min-height: 100px;
            clear: both;
            padding: 10px;
        }

        article {
            font: 2em Arial, sans-serif;
            color: red;
            text-align: center;
            background-color: lightgray;
            margin: 5px;
            padding: 10px;
        }

        nav {
            float: left;
            width: calc(20% - 20px); /*minus 2 padding*/
            background-color: lightgray;
            height: calc(300px - 20px + 4px);
            /*miunus w pdainfg plus 2 border sekcji main*/
            padding: 10px;
        }
    </style>
</head>
<body>
    <header>abcd</header>
    <nav>Tylko dla nawigacji po stronie</nav>
    <main>
        <article>
            abcd
        </article>
        <article>
            <section>
                abcd
            </section>
            <section>
                abcd
            </section>
        </article>
        <article>
            abcd
        </article>
    </main>
    <aside>tylko dla dodatkowych informacji</aside>
    <footer>abcd</footer>
</body>
</html>