bonjour
j'ai du mal a centrer le texte de haut en bas sur cette partie du code de mon menu, padding-top:10px ne fait rien, aucun effet sur la page ?
une petite idée ?
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
36
37
38
39
40
41
42
43
44
45
46
47 <!doctype html> <html lang="fr"> <head> <meta charset="utf-8"> <title>menu nuage</title> <style type="text/css"> div#coinpecheur { float : left; margin-top : 10px; width : 105px; } div#cnpech { text-align : center; width : 201px; height : 30px; margin : 0 0 0 0; background-image : -webkit-linear-gradient(#fff, #19b6ff); background-image : -moz-linear-gradient(#fff, #19b6ff); background-image : -ms-linear-gradient(#fff, #19b6ff); background-image : -o-linear-gradient(#fff, #19b6ff); background-image : linear-gradient(#fff, #19b6ff); border-top-left-radius : 16px; border-top-right-radius : 16px; box-shadow : 1px 1px 1px 1px rgba(145, 221, 225, 0.5) inset, 1px 1px 1px 1px rgba(145, 221, 225, 0.5); } a#mcnpech { color : #fff; text-decoration : none; text-align : center; -moz-user-select:none; text-shadow : 1px 1px 1px #666; } </style> </head> <body> <div id="coinpecheur"> <div id="cnpech"><a id="mcnpech">Le coin des pêcheurs</a></div> </div> </body> </html>
Partager