Bonsoir à tous et à toutes,
j'ai besoin d'un petit coup de main car je n'arrives pas à placer une image dans un div qui comporte une balise h1
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> body { background: #FFFFFF; color: #000000; font-family: Verdana ; } h1 { font-size:1.5em; } #entete { text-align: Left; width: auto; height:80px; background: #FFFFF; border-radius: 20px; padding: 20px; margin: 20px 5px; -moz-box-shadow:0 0 10px #555; -webkit-box-shadow:0 0 10px #555; box-shadow:0 0 10px #555; } #corps { text-align: right; width: auto px; height:80px; background: #FFFFF; border-radius: 20px; padding: 20px; margin: 20px 10px; -moz-box-shadow:0 0 10px #555; -webkit-box-shadow:0 0 10px #555; box-shadow:0 0 10px #555; } #piedDePage { width: auto ; height:80px; background: #FFFFF; border-radius: 20px; padding: 20px; margin: 15px 5px; -moz-box-shadow:0 0 10px #555; -webkit-box-shadow:0 0 10px #555; box-shadow:0 0 10px #555; } p { text-align: left; } </style> </head> <body> <div> <div style="text-align:left" id="corps"> <FONT FACE="Castellar" size="2"><H1><B>text1 <FONT FACE="Castellar" size="3"><p align="right"><B>text2</B></P></DIV> </div></div> </body> </html>
je voudrais placer dans le div une image centrée a droite et je n'y arrive pas
Merci par avance
Partager