Created
January 20, 2013 18:52
-
-
Save abozhilov/4580705 to your computer and use it in GitHub Desktop.
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 PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>Code container</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<style type="text/css"> | |
.code-container { | |
width: 500px; | |
border: 1px solid #000000; | |
overflow: auto; | |
} | |
.line-number { | |
float: left; | |
padding: 0 5px; | |
background-color: #E5E5E5; | |
text-align: right; | |
} | |
.code-container .code { | |
margin: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="code-container"> | |
<div class="line-number"> | |
1<br> | |
2<br> | |
1000<br> | |
</div> | |
<pre class="code">code</pre> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment