bonsoir, j'ai une image à reproduire qui ressemble à ce qu'on ob'tient avec ce code :
et le css :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="css/authentification.css" /> <meta charset="UTF-8"> <title>Web site</title> </head> <body> <div class="g"></div> <div class="c"> <a href="#" title="aller à l'accueil">accueil</a><hr /> <a href="#" title="contacter l'administrateur">contacter l'administrateur</a> </div> <div class="d"></div> <section> <article> <form> <fieldset> <legend>Merci de bien vouloir vous identifier</legend> <hr /><br /> <label for="nom">Identifiant : </label> <input type="text" name="nom" maxlength="20" placeholder="Votre nom?" /> <br /> <label for="pass">Mot de passe : </label> <input type="password" name="pass" maxlength="10" placeholder="motpasse" /> </fieldset> <br /> <input type="submit" value="Envoyer" align="right"/> </form> </article> <aside> <h3>Notes</h3> <p>Cette page permet à l'utilisateur de s'identifier pour accéder à l'application. Seuls les utilisateurs "administrateurs" peuvent accéder au service.</p> </aside> </section> </body> </html>
Le souci c'est que mes images ne s'affichent pas!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 .g { background : url("../images/left.jpg") no-repeat fixed center; } .c { background : url("../images/center.jpg") repeat-x fixed center; } .d { background : url("../images/right.jpg") no-repeat fixed center; } body { width : 90% } article { width : 60%; } article,aside { display : inline-block; } aside { width : 30%; background-color : #cccccc; vertical-align : top; } a { text-transform : uppercase; color : white; text-decoration : none; } ul { list-style-type : none } hr { color : white; } form hr { color : red } div { width : 30%; height : 160px; } p { text-align : justify; }
Partager