Probleme avec mon style.css !?! - HTML/CSS - Programmation
Marsh Posté le 03-05-2004 à 18:46:22
bonjour, voici mon style.css pour mon site web :
@charset "iso-8859-1"; html,body { background-color : black; } h1 { font-size : 10px; font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; color : black; padding-left:7px; } h2 { font-size : 9px; font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; color : red; } h3 { font-size : 12px; font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; color : white; } a:link {color: black; text-decoration:none; font-size : 10px;} a:visited {color: black; text-decoration:none; font-size : 10px;} a:hover {color:red; text-decoration:none; font-size : 10px;}
mais j ai un gros probleme avec cette partie :
<h1> TITRE</h1> <h2> texte</h12>
ou bien [quote]<h1> TITRE <h2> texte</h12> </h1> me donne des sauts de lignes a gogo !?! et ca je ne comprends vraiment po !! une chtite aide svp ? merci d'avance !
Marsh Posté le 03-05-2004 à 18:47:27
h1, h2 { margin:0; padding:0; }
Marsh Posté le 03-05-2004 à 19:18:15
ah merci bcp et oui je suis un bon gros debutant
Make sure you enter the(*)required information where indicate.HTML code is not allowed
Marsh Posté le 03-05-2004 à 18:46:22
bonjour, voici mon style.css pour mon site web :
@charset "iso-8859-1";
html,body {
background-color : black;
}
h1 {
font-size : 10px;
font-family : Verdana, Arial, Helvetica, Geneva, sans-serif;
color : black;
padding-left:7px;
}
h2 {
font-size : 9px;
font-family : Verdana, Arial, Helvetica, Geneva, sans-serif;
color : red;
}
h3 {
font-size : 12px;
font-family : Verdana, Arial, Helvetica, Geneva, sans-serif;
color : white;
}
a:link {color: black; text-decoration:none; font-size : 10px;}
a:visited {color: black; text-decoration:none; font-size : 10px;}
a:hover {color:red; text-decoration:none; font-size : 10px;}
mais j ai un gros probleme avec cette partie :
<h1> TITRE</h1>
<h2> texte</h12>
ou bien
[quote]<h1> TITRE
<h2> texte</h12> </h1>
me donne des sauts de lignes a gogo !?!
et ca je ne comprends vraiment po !!
une chtite aide svp ?
merci d'avance !