Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

public_html/exercises/

Projekt/
cm.html
formPostTest/
index.html
javascript.html
ovning0.html
ovning01.html
ovning02.html
ovning03.html
ovning04.html
ovning06.html
ovning07.html
ovning08.html
ovning09.css
ovning09ap.html
ovning09app.html
ovning09ba.html
ovning10.html
ovningjs02.html
piano.html
quizeovning.php
spel.html
test.html

ovning09.css

94 lines ASCII Windows (CRLF)
.grid-container {
    display: grid;
    grid-template-columns: 200px 400px 200px;
    grid-template-areas:
        'header header aside'
        'section article aside'
        'footer footer footer';
    width: 800px;
    margin: auto;
    border: 1px solid black;
}

header {
    grid-area: header;
    background-color: red;
    color: white;
    text-align: center;
}

aside {
    grid-area: aside;
    background-color: yellow;
    text-align: center;
    border: 1px solid black;
}

article {
    grid-area: article;
    background-color: lightgray;
    border: 1px solid black;
}

.minsection {
    grid-area: section;
    background-color: lime;
    border: 1px solid black;
    text-align: center;
}

.minsection h3 {
    background-color: white;
    padding: 5px;
}

footer {
    grid-area: footer;
    background-color: grey;
    text-align: center;
    border: 1px solid black;
}

.reklam {
    background-color: white;
    border: 2px solid red;
    width: 125px;
    margin: auto;
}

ul {
    list-style-type: none;
    margin: 0px;
    padding: 5px;
}

li a {
    background-color: rgb(193, 193, 193);
    margin: auto;
    border: 2px solid black;
    padding: 4px;
    width: 150px;
    display: block;
    text-decoration-line: none;
    color: black;
    text-align: center;
}

li a:hover {
    background-color: red;
    transition: 0.2s;
}

.fax {
    padding: 8px;
}

.copy {
    font-size: 50px;
    font-weight: bold;
}

img {
    width: 150px;
    padding: 10px;
}