Last active
December 25, 2015 20:19
-
-
Save Evshved/7033811 to your computer and use it in GitHub Desktop.
html tables
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style type="text/css"> | |
TD { | |
vertical-align: top; /* Выравнивание по верхнему краю ячейки */ | |
} | |
#col1 { | |
width: 40%; /* Ширина первой колонки */ | |
} | |
#col2 { | |
width: 30%; /* Ширина второй колонки */ | |
} | |
#col3 { | |
width: 40%; /* Ширина третьей колонки */ | |
} | |
</style> | |
</head> | |
<body> | |
<table width="90%" cellpadding="5" cellspacing="0"> | |
<tr> | |
<td id="col1"> <center>Колонка 1</center> </td> | |
<td id="col2"><center>Колонка 2</center> </td> | |
<td id="col3"><center>Колонка 3</center> </td> | |
</tr> | |
</table><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment