bonjour,
en fait je suis en train de faire un découp de psd vers Html et je sais pas comment faire un espace de gauche voilà mon code et ci-joint l'affichage que je veux faire en image :
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 @charset "utf-8"; /* CSS Document */ *{margin:0;padding:0} img,fieldset{border:none} :focus {outline:none} body{font-familly:Verdana,Geneva,sans-serif; font-size:12px; background-image:url(../images/bg_header.png); background-repeat:repeat-x; background-color:#FFF; width:589px; margin:6px 0px 0px 0px; } .wrapper{width:589px;margin:6px auto} .logo{float:left;margin-left:13px}
merci en avance
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 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Groupon Voyages </title> <link rel="stylesheet" href="common/css/style.css" /> </head> <body> <header> <div class="wrapper"> <a href="#"><img src="common/images/logo.png" alt="" class="logo"/></a> </div> </header> </body> </html>
Partager