diff --git a/connexion.html b/connexion.php similarity index 54% rename from connexion.html rename to connexion.php index 361d5c7577787588b873908f0d75991c3ddfdaf3..d5b3a7ad85e2e2f4770e01ae09425354ccb01f79 100644 --- a/connexion.html +++ b/connexion.php @@ -5,6 +5,12 @@ <title>Connexion</title> </head> <body> + <div> + <?php include("header.php"); ?> + </div> + <div style="height: 50px;" ></div> + + connection </body> </html> \ No newline at end of file diff --git a/header.css b/header.css index 355de857d77040064ec065aace7d5166a0771e68..dff7f88334963e01a2d92df5a399277d0ea31bbb 100644 --- a/header.css +++ b/header.css @@ -1,3 +1,25 @@ -h1.header { +div.header { + position: fixed; + top: 0; + right: 0; + left: 0; + margin: 0; + border: medium solid #04384F; + background: #1b5962; + color: #77AEA7; + height: 50px; + min-width: 30px; +} + +.title { + float: left; display: inline-block; + color: #77AEA7; + font-size: 40px; +} + +a.connection { + float: right; + font-size: 40px; + color: #77AEA7; } \ No newline at end of file diff --git a/header.php b/header.php index 8567003d5c84e222dba25b073696a52720de5ce2..7a1386c7b7fd4c6be942b094e1e5ffba43a2b049 100644 --- a/header.php +++ b/header.php @@ -6,6 +6,9 @@ */ echo " <link rel=\"stylesheet\" href=\"header.css\"> - <h1 class='header'><a href='index.php'>???</a></h1> -<a href='connexion.html' style='display: inline-block;'>Conexion/Inscription</a>"; -?> \ No newline at end of file +<div class='header'> + <a href='index.php' class='title'>???</a> + <a href='connexion.php' class='connection''>Connection/Inscription</a> +</div> +"; +?> diff --git a/index.php b/index.php index 1689dc6aedbbf67d4d29b87868b34616c8efaf11..35b713b622583804becd2953bd1db0873ed2061e 100644 --- a/index.php +++ b/index.php @@ -5,9 +5,13 @@ <meta charset="utf-8" /> </head> <body> - <div class="header"> + <div> <?php include("header.php"); ?> </div> - Bonjour + <div style="height: 50px;" ></div> + + <div class="corps"> + <p> bonjour</p> + </div> </body> </html>