Created
July 7, 2013 07:28
-
-
Save AliMD/5942671 to your computer and use it in GitHub Desktop.
Very Basic Table Layout
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
.container { | |
width: 900px; | |
margin: 0 auto; | |
} | |
.header{ | |
height: 80px; | |
} | |
.leftpanel{ | |
width: 150px; | |
} | |
.mainpanel{ | |
height: 600px; | |
} | |
.rightpanel{ | |
width: 150px; | |
} | |
.footer{ | |
height: 70px; | |
} |
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> | |
<meta charset="utf-8" /> | |
<title>my 1st page</title> | |
</head> | |
<body> | |
<table border="1" class="container"> | |
<tr> | |
<td class="header" colspan="3"></td> | |
</tr> | |
<tr> | |
<td class="leftpanel"></td> | |
<td class="mainpanel"></td> | |
<td class="rightpanel"></td> | |
</tr> | |
<tr> | |
<td class="footer" colspan="3"></td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://jsbin.com/alupah/9/edit