[AJ] Exemple d'un element utilisant moins de DIV pour afficher tout
aussi bien un élément d'une catégorie
This commit is contained in:
		
							
								
								
									
										35
									
								
								exemple/element.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								exemple/element.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					<html>
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					  <title>sdklfj</title>
 | 
				
			||||||
 | 
					  <style>
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					a {
 | 
				
			||||||
 | 
					display: block;
 | 
				
			||||||
 | 
					height: 9em;
 | 
				
			||||||
 | 
					width: 19ex;
 | 
				
			||||||
 | 
					margin: 0 5px 10px 5px;
 | 
				
			||||||
 | 
					float: left;
 | 
				
			||||||
 | 
					border: thin solid #000000;
 | 
				
			||||||
 | 
					-moz-border-radius: 15px;
 | 
				
			||||||
 | 
					border-radius: 15px;
 | 
				
			||||||
 | 
					-webkit-border-radius: 15px;
 | 
				
			||||||
 | 
					-moz-box-shadow: 1px 1px 8px #000000;
 | 
				
			||||||
 | 
					box-shadow: 1px 1px 8px #000000;
 | 
				
			||||||
 | 
					-webkit-box-shadow: 1px 1px 8px #000000;
 | 
				
			||||||
 | 
					overflow: hidden;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a img {
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a:hover {
 | 
				
			||||||
 | 
					background-color: red;
 | 
				
			||||||
 | 
					} 
 | 
				
			||||||
 | 
					  </style>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					      <div class="element">
 | 
				
			||||||
 | 
					          <a href="@@URL_ELEMENT@@" title="@@DESC_ELEMENT@@">@@TITRE_ELEMENT@@ <img src="@@URL_IMAGE@@" alt="@@TITRE_IMAGE@@" title="img" /></a>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </body>
 | 
				
			||||||
 | 
					  </html>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user