CSS et dreamweaver
Publié: Lun 19 Juil 2010 14:12:06
Bonjour à tous,
La création de site web m'attire depuis un moment déjà, et j'ai donc décidé de me lancer cet été.
Je travaille sur dreamweaver 8 (j'ai eu quelques cours dessus durant l'année), et j'ai du mal avec les feuilles de style CSS.
Je voudrais faire un menu avec à gauche une image fixe et au centre et à droite des boutons pour le menu. J'ai voulu insérer d'abord l'image à gauche, mais elle n'apparaît pas du tout lorsque je passe en mode création. (J'ai suivi les tutoriaux d'Alsacreation).
Voici ma feuille CSS :
body
{
margin:10px 0 ;
padding: 0 ;
text-align: center ;
font: "Century Gothic" ;
font-size: 12px ;
background: #000000 ;
}
div#conteneur
{
width: 720 px ;
margin: 0 auto ;
text-align: left ;
border: 2px solid #ab4 ;
background: #fff ;
}
h1#header
{
background-repeat: no-repeat;
padding: 0 px;
background-image : url(images/Logo HolidaySport.png);
}
div#contenu p
{
text-align: justify;
text-indent: 2em ;
line-height: 1.7em ;
}
pre
{
overflow: auto ;
}
Et voici ma page HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="STYLESHEET" type="text/css" media="all" href="Style1.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>index</title>
</head>
<body>
<p class="Style1">bvdkmbksm vcd,svbnsù </p>
<p class="Style1"> </p>
<p class="Style1"> </p>
</body>
</html>
Cela fait trois jours que je cherche, je ne sais plus par où commencer.
Merci beaucoup de vos réponses.
La création de site web m'attire depuis un moment déjà, et j'ai donc décidé de me lancer cet été.
Je travaille sur dreamweaver 8 (j'ai eu quelques cours dessus durant l'année), et j'ai du mal avec les feuilles de style CSS.
Je voudrais faire un menu avec à gauche une image fixe et au centre et à droite des boutons pour le menu. J'ai voulu insérer d'abord l'image à gauche, mais elle n'apparaît pas du tout lorsque je passe en mode création. (J'ai suivi les tutoriaux d'Alsacreation).
Voici ma feuille CSS :
body
{
margin:10px 0 ;
padding: 0 ;
text-align: center ;
font: "Century Gothic" ;
font-size: 12px ;
background: #000000 ;
}
div#conteneur
{
width: 720 px ;
margin: 0 auto ;
text-align: left ;
border: 2px solid #ab4 ;
background: #fff ;
}
h1#header
{
background-repeat: no-repeat;
padding: 0 px;
background-image : url(images/Logo HolidaySport.png);
}
div#contenu p
{
text-align: justify;
text-indent: 2em ;
line-height: 1.7em ;
}
pre
{
overflow: auto ;
}
Et voici ma page HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="STYLESHEET" type="text/css" media="all" href="Style1.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>index</title>
</head>
<body>
<p class="Style1">bvdkmbksm vcd,svbnsù </p>
<p class="Style1"> </p>
<p class="Style1"> </p>
</body>
</html>
Cela fait trois jours que je cherche, je ne sais plus par où commencer.
Merci beaucoup de vos réponses.