Last active
December 26, 2015 10:48
-
-
Save bacillo/7138845 to your computer and use it in GitHub Desktop.
Utilizzo fogli di stile, attributi id e class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Tabelle</title> | |
<style> | |
table{ | |
border-collapse:collapse; | |
} | |
#riga1 td{ | |
border: 1px solid #d4d4d4; | |
padding: 7px 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<table> | |
<tr id="riga1" class="riga"> | |
<td>row 1, cell 1</td> | |
<td>row 1, cell 2</td> | |
</tr> | |
<tr id="riga2" class="riga"> | |
<td>row 2, cell 1</td> | |
<td>row 2, cell 2</td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment