Bonjour,
J'ai un petit problème c'est que j'ai créé un css mais quand j'applique le css les bouton prend toute la largeur de la page, et je voudrais qu'elle prenne beaucoup moins comme sur la photo numéro 2. Comment faire ?
Voici mon css:
Merci d'avance pour ceux qui vont m'aider
Code CSS : 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 body { background: #1c242d; } .box { border: 1px solid #c4c4c4; padding: 30px 25px 10px 25px; background: white; margin: 30px auto; width: 360px; } h1.box-logo a { text-decoration:none; } h1.box-title { color: #AEAEAE; background: #f8f8f8; font-weight: 300; padding: 15px 25px; line-height: 30px; font-size: 25px; text-align:center; margin: -27px -26px 26px; } .box-button { border-radius: 5px; background: #d2483c; text-align: center; cursor: pointer; font-size: 19px; width: 100%; height: 51px; padding: 0; color: #fff; border: 0; outline:0; } .box-register { text-align:center; margin-bottom:0px; } .box-register a { text-decoration:none; font-size:12px; color:#666; } .box-input { font-size: 14px; background: #fff; border: 1px solid #ddd; margin-bottom: 25px; padding-left:10px; border-radius: 5px; width: 347px; height: 50px; } .box-input:focus { outline: none; border-color:#5c7186; } .sucess{ text-align: center; color: white; } .sucess a { text-decoration: none; color: #58aef7; } p.errorMessage { background-color: #e66262; border: #AA4502 1px solid; padding: 5px 10px; color: #FFFFFF; border-radius: 3px; }
![]()
Partager