mardi 1 septembre 2015

How to make website scroll down

I have made an image 100% height and width. But I had some headings and paragraphs underneath. When viewing my website I cannot scroll down further to see the headings and paragraphs? Also, I want a small burger navigation bar over the top of the image, at the top. But since making the image full screen, this has been "pushed away" as well?

<!doctype html>
<html lang="en">
<head>
    <meta charset = "utf-8"/>
    <title>XXXXX</title>
<link rel = "stylesheet" href="s.css"/>

</head>
<body>
    <nav id = "burger">
    </nav>

    <section id = "top_image">
        <img src="images/bg1.png"/>
    </section>

    <section id = "description">
        <article>
            <header>
                <h4>DESCRIPTION</h4>
            </header>
            <p>
                XXXXXX<br />
                XXXXXXXXXXX<br />
                XXXXXXXX
            </p>
            <p>
                XXXXXXX<br />
                XXXXXXX<br />
                cXXXX<br />
                XXXXXXX
            </p>
        </article>
    </section>

CSS

img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}




Aucun commentaire:

Enregistrer un commentaire