<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6179761412224697333</id><updated>2024-09-16T18:53:53.925+02:00</updated><category term="css"/><category term="lisibilité"/><category term="formulaire"/><category term="lettrine"/><category term="liens"/><category term="menu"/><category term="selecteur"/><title type='text'>CSS Class</title><subtitle type='html'>Trucs, astuces, méthodes et pratiques des feuilles de styles .css</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-3472567359815161710</id><published>2009-09-26T17:54:00.001+02:00</published><updated>2009-09-26T17:54:37.627+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="formulaire"/><category scheme="http://www.blogger.com/atom/ns#" term="selecteur"/><title type='text'>Des selecteurs utiles pour les formulaires</title><content type='html'>C&#39;est bien de connaitre les propriétés css mais pour les utiliser convenablement il est utile de maitriser les sélecteurs, dans le cas de création de style pour des formulaires on peut utiliser ce que l&#39;on nomme les sélecteur d&#39;attribut.&lt;br /&gt;
&lt;br /&gt;
les balises html disposent parfois d&#39;attribut, l&#39;on peut alors utiliser ces attributs pour sélectionner plus précisément une balise dans la feuille de style, par exemple une balise de lien &amp;lt;a&amp;gt; avec un attribut url=&quot;#&quot; peut être sélectionner dans la css de cette façon :&lt;br /&gt;
&lt;pre&gt;a[url=&quot;#&quot;] {
    border-bottom:1px #369 dashed; 
}&lt;/pre&gt;seul les liens avec en url un simple # seront stylé de cette façon, cela prend tout son sens pour les formulaires, la balise input étant différente suivant le type que l&#39;on lui assigne on peut donc dans la css stylé les divers éléments input de cette façon :&lt;br /&gt;
&lt;pre&gt;input[type=&quot;text&quot;] { 
}
input[type=&quot;checkbox&quot;]{
}
input[type=&quot;submit&quot;]{
}&lt;/pre&gt;la même balise input peut alors avoir un style différent suivant sont type et cela sans ajouter des class ou id au balises.</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/3472567359815161710/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/des-selecteurs-utiles-pour-les.html#comment-form' title='2 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/3472567359815161710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/3472567359815161710'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/des-selecteurs-utiles-pour-les.html' title='Des selecteurs utiles pour les formulaires'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-4161515304509087415</id><published>2009-09-20T16:22:00.004+02:00</published><updated>2009-09-20T17:17:02.608+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="menu"/><title type='text'>5 façons de styler un menu sans images</title><content type='html'>Les menus de navigations sont conçu avec des liste ul li et d&#39;un titre h1, h2 ou h3, généralement on y ajoute des images pour rendre le tout &quot;joli&quot; mais avec un peu d&#39;astuce, de bordure et de couleur on peut très bien réaliser des menu de navigations tout à fait utilisable sans utiliser d&#39;image, voici 5 exemples de ce que l&#39;on peut faire avec les css sur un même code html.&lt;br /&gt;
&lt;br /&gt;
d&#39;abord voyons le code html il est très simple et donc propre :&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;titre&amp;lt;/h2&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;lien un&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;lien deux&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;lien trois&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;lien quatre&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;lien cinq&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;/pre&gt;&lt;br /&gt;
on remarque un titre h2 qui contient le titre du menu (navigation, catégories, rubrique, etc.) puis une liste ul et li et bien sur des liens, maintenant voyons les css que l&#39;on peut utiliser.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Premier style&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVys9rpwM22HQrdHPAB-MHWms6jGQ0FdR5J5JjiHRwRnQfau4orhXLjHL1a8l3WGat5g6JdY6Q8s40cO7EIbSlXZ-9nWo4Gzota7RHDtP-VAx5wsaUprTNMStoC4AKU1UpAsRki-XrQ0tm/s1600-h/menu1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVys9rpwM22HQrdHPAB-MHWms6jGQ0FdR5J5JjiHRwRnQfau4orhXLjHL1a8l3WGat5g6JdY6Q8s40cO7EIbSlXZ-9nWo4Gzota7RHDtP-VAx5wsaUprTNMStoC4AKU1UpAsRki-XrQ0tm/s320/menu1.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre&gt;&amp;nbsp;h2 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:5px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:uppercase;
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:12px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; letter-spacing:3px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#2c2c2c;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom: 1px solid #eee;
}
ul {
&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom:2px solid #2c2c2c;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
}
li {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
}
li a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 0 2px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:150px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#eee;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#2c2c2c;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:capitalize;
}
li a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#2c2c2c;
}&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;A noter que le code html peut pour plus de souplesse être placé dans un élément div avec un id genre &quot;sidebar&quot;, &quot;zonemenu&quot; etc. et dans ce cas le #id peut être placé devant chaque style pour que ceux ci n&#39;interfère pas sur les autre ul li a de la page&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Second style&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGiMxRgaOz34N-pkBB_pV7Cr4GgJISwrwhtzj-0s3a9RGfZhQJXn54C_InvVxZCCA6stCJcbqaxLzbU-4X98-nFmkZiR2Pdgi8XWh5tsN9C1N0dvubSkxZcX4eVOCBw0Agw-CE0NScMQwM/s1600-h/menu2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGiMxRgaOz34N-pkBB_pV7Cr4GgJISwrwhtzj-0s3a9RGfZhQJXn54C_InvVxZCCA6stCJcbqaxLzbU-4X98-nFmkZiR2Pdgi8XWh5tsN9C1N0dvubSkxZcX4eVOCBw0Agw-CE0NScMQwM/s320/menu2.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre&gt;&amp;nbsp;h2 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0 0 6px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:5px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:uppercase;
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:12px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; letter-spacing:3px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#9A1948;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom: 1px solid #9A1948;
}
ul {
&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
}
li {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
}
li a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 0 2px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:150px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#2c2c2c;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:capitalize;
}
li a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left:6px solid #9A1948;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-left:4px;
}&lt;/pre&gt;Ici on utilise la propriété border pour avoir un effet au survol des liens&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Troisième style&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcgeCsidO8Ax0T46To8KTo0Lg97PA2H6jsBABwcp0LdL5rIvgJFKo7mZUbboYsGs-q5xLJYxeilVB6Z1wSqe218RYqPWCceGoeKjODiGtVxcK8TtF_97qtr9y4Tlqy5NQEHXAEybm0XA_G/s1600-h/menu3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcgeCsidO8Ax0T46To8KTo0Lg97PA2H6jsBABwcp0LdL5rIvgJFKo7mZUbboYsGs-q5xLJYxeilVB6Z1wSqe218RYqPWCceGoeKjODiGtVxcK8TtF_97qtr9y4Tlqy5NQEHXAEybm0XA_G/s320/menu3.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre&gt;&amp;nbsp;h2 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0 0 6px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:5px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:uppercase;
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:12px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; letter-spacing:3px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:green;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-top: 2px solid green;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom: 2px solid green;
}
ul {
&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
}
li {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
}
li a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:green;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:capitalize;
}
li a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color: green;
}&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Quatrième style&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew2Lf_sJ-dop6CDvxlnWCtYK9ly5hyphenhyphen54rxfSUBFgg460I_8bS3xPrHidDV-1cTUbu3LDv0ScY687G1EC-7o-bcUKlJdYIdFMuR_xwRUWj3uYMfbbkBIEgZxJDJ4TOUfbS8tzyL9l9Fb2G/s1600-h/menu4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew2Lf_sJ-dop6CDvxlnWCtYK9ly5hyphenhyphen54rxfSUBFgg460I_8bS3xPrHidDV-1cTUbu3LDv0ScY687G1EC-7o-bcUKlJdYIdFMuR_xwRUWj3uYMfbbkBIEgZxJDJ4TOUfbS8tzyL9l9Fb2G/s320/menu4.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre&gt;h2 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0 0 5px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:3px 0 3px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:uppercase;
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:16px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:130px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left:30px solid orange;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:orange;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#fff;
}
ul {
&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
}
li {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
}
li a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 0 2px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:150px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:orange;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:capitalize;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom:2px solid #fff;
}
li a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom:2px solid orange;
}&lt;/pre&gt;Ici la couleur peut être utilisée pour différencier plusieurs rubriques.&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Cinquième style&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSO13nRhxAl8MPWSnpAILpPNoqCI71SfgoBQTiekX88pPGKEb6IGKA67kriDhnoU0RcMToRFq-ctPLwQL9jZV9iQKfh-brajkpB3EZ-Ef9hFmI3dDSNn2XxidMK4dtRfmAbfa-oLVQjhB0/s1600-h/menu5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSO13nRhxAl8MPWSnpAILpPNoqCI71SfgoBQTiekX88pPGKEb6IGKA67kriDhnoU0RcMToRFq-ctPLwQL9jZV9iQKfh-brajkpB3EZ-Ef9hFmI3dDSNn2XxidMK4dtRfmAbfa-oLVQjhB0/s320/menu5.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre&gt;h2 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:5px 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:uppercase;
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:12px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; letter-spacing:3px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#bbcc00;
}
ul {
&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom:2px solid #bbcc00;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:160px;
}
li {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
}
li a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 0 2px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; width:139px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#fff;
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform:capitalize;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left:10px solid #bbcc00;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-right:1px solid #bbcc00;
}
li a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:2px 5px 2px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left:5px solid #bbcc00;
}&lt;/pre&gt;Cette fois encore pas d&#39;image uniquement l&#39;utilisation de bordure et de couleur de fond.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/4161515304509087415/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/5-facon-de-styler-un-menu-sans-images.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/4161515304509087415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/4161515304509087415'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/5-facon-de-styler-un-menu-sans-images.html' title='5 façons de styler un menu sans images'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVys9rpwM22HQrdHPAB-MHWms6jGQ0FdR5J5JjiHRwRnQfau4orhXLjHL1a8l3WGat5g6JdY6Q8s40cO7EIbSlXZ-9nWo4Gzota7RHDtP-VAx5wsaUprTNMStoC4AKU1UpAsRki-XrQ0tm/s72-c/menu1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-8646912605584620206</id><published>2009-09-18T17:59:00.000+02:00</published><updated>2009-09-18T17:59:31.075+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="liens"/><title type='text'>Souligner les liens au stylo bille</title><content type='html'>Un effet facile à faire sur les liens et qui donne un coté &quot;scolaire&quot; à un site internet est celui qui consiste à avoir des liens souligné au stylo bille, voyons cela tout de suite, pour commencer on a un paragraphe avec un lien :&lt;br /&gt;
&lt;pre&gt;&amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, &amp;lt;a href=&quot;#&quot;&amp;gt;consectetur adipiscing&amp;lt;/a&amp;gt; elit. Ut ut justo justo, vitae sodales mi.&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;
On a également besoin d&#39;une image qui va représenté le soulignement au stylo, je vais utiliser celle ci :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Y7dK8OdwjW6Lc6VVe2yXBRMnJ5lemElJgtcgo-4NKYFjxlhQEESsOvlarIswbKW5NC-m0zY4_XoxSCDHq70r6rd44iqeAHsOmv-f3mjznO9R8TK7zGu6tvGWqwI1V4wvaeJUzwCLAIJj/s1600-h/souligne.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Y7dK8OdwjW6Lc6VVe2yXBRMnJ5lemElJgtcgo-4NKYFjxlhQEESsOvlarIswbKW5NC-m0zY4_XoxSCDHq70r6rd44iqeAHsOmv-f3mjznO9R8TK7zGu6tvGWqwI1V4wvaeJUzwCLAIJj/s320/souligne.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Vous pouvez enregistrer cette image et l&#39;utiliser ou bien refaire la votre c&#39;est assez simple à faire, cette image on la place dans un dossier images pour garder un site propre et on va créer ensuite le style suivant dans la feuille de style :&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;pre&gt;a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:url(images/souligne.png) repeat-x 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-bottom:15px;
}
a:hover {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#369;
}&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;quelques explications, c&#39;est un style pour les balises &amp;lt;a&amp;gt; qui sont les balises de lien, on leur donne la couleur noire #000 (ce n&#39;est pas obligatoire), puis on supprime le soulignement par défaut avec la propriété text-decoration:none comme on a plus de lien souligné on peut ajouté en image de fond notre ligne bleu au stylo avec la propriété background, on indique également que ce background se répète uniquement sur l&#39;axe des x (donc horizontalement), enfin on ajoute une marge interne avec margin-bottom pour décalé le soulignement sous le texte et voilà le résultat :&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8up0Q-8maogcWJinhXj5e-38PVr5DnTamgYs-P7VJf_lOgJGbcaxJY515fY0G3HIyIRW9xGXe0Hv0O3fkq7a3Bzb58XD5qhkJo-XdLIF3h50ClUQaYFV6N5fj1NM3G2F5i0msF_O5KkP9/s1600-h/stylesouligne.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8up0Q-8maogcWJinhXj5e-38PVr5DnTamgYs-P7VJf_lOgJGbcaxJY515fY0G3HIyIRW9xGXe0Hv0O3fkq7a3Bzb58XD5qhkJo-XdLIF3h50ClUQaYFV6N5fj1NM3G2F5i0msF_O5KkP9/s400/stylesouligne.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Une petite info en plus, certains anciens navigateur (IE) pourrait avoir du mal avec ce style dans ce cas il y a une astuce pour leur donner un style différent en procédant ce cette facon :&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre&gt;a {
&amp;nbsp;&amp;nbsp;&amp;nbsp; color:#000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-decoration:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background:url(images/souligne.png) repeat-x 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding-bottom:15px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /background:none;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /border-bottom:1px solid #369;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /padding-bottom:0;
}&lt;/pre&gt;les propriétés de styles avec un / ne seront comprise que pas le navigateur fautif qui aura donc un soulignement classique bleu à la place de l&#39;image.&amp;nbsp; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/8646912605584620206/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/souligner-les-liens-au-stylo-bille.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/8646912605584620206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/8646912605584620206'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/souligner-les-liens-au-stylo-bille.html' title='Souligner les liens au stylo bille'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Y7dK8OdwjW6Lc6VVe2yXBRMnJ5lemElJgtcgo-4NKYFjxlhQEESsOvlarIswbKW5NC-m0zY4_XoxSCDHq70r6rd44iqeAHsOmv-f3mjznO9R8TK7zGu6tvGWqwI1V4wvaeJUzwCLAIJj/s72-c/souligne.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-6977363657478691211</id><published>2009-09-18T16:30:00.001+02:00</published><updated>2009-09-18T16:46:49.173+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="lettrine"/><title type='text'>Style lettrine</title><content type='html'>Il peut être intéressant d&#39;avoir une lettrine sur vos paragraphes suivant le look de votre site, cela peut ce faire facilement grâce à la pseudo class :first-letter (à noter que les anciens navigateurs ne gère pas forcement cette pseudo class)&lt;br /&gt;
&lt;br /&gt;
Considérons que vous avez un paragraphe basique : &lt;br /&gt;
&lt;pre&gt;&amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Ut ut justo justo, vitae sodales mi. Pellentesque sollicitudin mollis
est, vel suscipit lacus viverra non. Fusce interdum tincidunt odio,
non fermentum purus adipiscing non.&amp;lt;/p&amp;gt;&lt;/pre&gt;&lt;br /&gt;
dans votre feuille de style on y assigne un style simple :&lt;br /&gt;
&lt;pre&gt;p {
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:5px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; line-height:20px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align:justify;
}&lt;/pre&gt;c&#39;est à dire une marge interne de 5 pixels, une hauteur de ligne de 20 pixels et on justifie le texte, ensuite on utilise la pseudo class :first-letter pour ajouter un style différent à la première lettre du paragraphe, on ajoute donc ceci :&lt;br /&gt;
&lt;pre&gt;p:first-letter {
&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:300%;
&amp;nbsp;&amp;nbsp;&amp;nbsp; float:left;
&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:4px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; text-transform: uppercase;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; line-height:30px;
}&lt;/pre&gt;soit une taille de 300% pour la lettrine, flottant à gauche, avec une marge interne de 4 pixels, une mise en majuscule au cas ou on l&#39;aurait oublié lors de la saisie du texte et une hauteur de ligne de 30 pixels, pour avoir un rendu quasi identique dans la plupart des navigateur, ce qui nous donne ceci :&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj733P4c81b60ItdqYphYcB-krdKqvs8_efY1jRsZFmVVbEwmoXZ_ep_A8V7wuUI9aAdui_nh6W-YvFOGQa5xjhSqpAczsRHldvFdvTWkqq-AgizNQ1EoRxCt912ywdYfMv_6JPQutWfz5r/s1600-h/lettrine.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj733P4c81b60ItdqYphYcB-krdKqvs8_efY1jRsZFmVVbEwmoXZ_ep_A8V7wuUI9aAdui_nh6W-YvFOGQa5xjhSqpAczsRHldvFdvTWkqq-AgizNQ1EoRxCt912ywdYfMv_6JPQutWfz5r/s320/lettrine.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/6977363657478691211/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/style-lettrine.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/6977363657478691211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/6977363657478691211'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/style-lettrine.html' title='Style lettrine'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj733P4c81b60ItdqYphYcB-krdKqvs8_efY1jRsZFmVVbEwmoXZ_ep_A8V7wuUI9aAdui_nh6W-YvFOGQa5xjhSqpAczsRHldvFdvTWkqq-AgizNQ1EoRxCt912ywdYfMv_6JPQutWfz5r/s72-c/lettrine.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-4080968739340660019</id><published>2009-09-17T22:08:00.002+02:00</published><updated>2009-09-17T22:21:23.234+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="lisibilité"/><title type='text'>Organiser les styles par groupes</title><content type='html'>Quand une feuille de style devient longue, il est utile de pouvoir facilement retrouver un style précis dans le flot de propriétés css, on doit donc organiser la feuille de style en plusieurs groupes, en premier on définit les balises générique c&#39;est à dire body, h1, h2, h3, h4, h5, h6, p, ul, li, dl, dt, dd, etc.&lt;br /&gt;&lt;br /&gt;Puis à l&#39;aide de commentaire on délimite les diverses partie de la feuille de style, chaque partie correspondant à une zone sur la page html, on peut donc avoir une partie pour l&#39;en-tête, une pour la zone de navigation, une pour le corps de la page et une pour le pied de page.&lt;br /&gt;&lt;br /&gt;Ensuite on ajoute les styles qui vont correspondre au divers éléments supplémentaire de votre page tel que shootbox, galerie d&#39;image, formulaire particulier et autres.&lt;br /&gt;&lt;br /&gt;attention les styles générique définit au début de la css peuvent influer sur les styles qui suivent.</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/4080968739340660019/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/organiser-les-styles-par-groupes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/4080968739340660019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/4080968739340660019'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/organiser-les-styles-par-groupes.html' title='Organiser les styles par groupes'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-1582398706303837796</id><published>2009-09-17T21:40:00.007+02:00</published><updated>2009-09-17T21:58:54.461+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="lisibilité"/><title type='text'>Propre et indenté</title><content type='html'>Une des première chose à faire quand on rédige une feuille de style est de faire un code propre, c&#39;est à dire ne pas mettre toutes les propriétés css sur une même ligne, avec le temps vous pourrez prendre des libertés à ce niveau mais quand on commence une css on se doit de faire quelque chose qui soit lisible donc il ne faut pas faire :&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;.maclass { margin:0; padding:0; background-color:#ccc; border:1px solid #2c2c2c;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;mais faire plutôt :&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;.maclass {&lt;br /&gt;     margin: 0;&lt;br /&gt;     padding: 0;&lt;br /&gt;     background-color: #ccc;&lt;br /&gt;     border: 1px solid #2c2c2c&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;on remarque que c&#39;est plus facile à lire, avec le code indenté et chaque propriété sur une ligne.</content><link rel='replies' type='application/atom+xml' href='http://cssclass.blogspot.com/feeds/1582398706303837796/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cssclass.blogspot.com/2009/09/propre-et-indente.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/1582398706303837796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/1582398706303837796'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/propre-et-indente.html' title='Propre et indenté'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179761412224697333.post-8667166806629127877</id><published>2009-09-17T20:12:00.001+02:00</published><updated>2009-09-17T20:18:10.209+02:00</updated><title type='text'>Ouverture du blog</title><content type='html'>le blog est ouvert, ici je vais publier des trucs, astuces, bonnes pratique, méthodes, et autres pour l&#39;utilisation des feuilles de styles (.css).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/8667166806629127877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179761412224697333/posts/default/8667166806629127877'/><link rel='alternate' type='text/html' href='http://cssclass.blogspot.com/2009/09/ouverture-du-blog.html' title='Ouverture du blog'/><author><name>KamiGeek</name><uri>http://www.blogger.com/profile/18295169012574848666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHDEd1LC5xb-BkT7t6tUzAFlU-NfnqGNKQZAI4ncN3bSZ0OgEgXKVAJjp0V5qB9b5SjP6-U4O28TcYfVtHzeSa14TvoemkHhYLXTGi8-66fvygvAYLgOvi69zHSJoywqk/s113/logo3.png'/></author></entry></feed>