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 structure | |
<html> | |
<body> | |
<table id="transactions"> | |
<tr><td>Nov 8 2014</td><td>Chipotle</td><td>6.83</td></tr> | |
<tr><td>Nov 9 2014</td><td>Wok Eat</td><td>9.13</td></tr> | |
<tr><td>Nov 10 2014</td><td>Hazel's Beverage World</td><td>321.54</td></tr> | |
</table> | |
</body> | |
</html> |
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> | |
<head> | |
<title>Textarea Default Values</title> | |
<link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.css" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | |
<script src="bootstrap/js/bootstrap.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
function setDynamic(id){ | |
var text = prompt("Enter your desired text."); | |
$('#' + id).html(text); |
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
/* A responsive layout that should | |
* adjust nicely to any screen size! | |
*/ | |
#topbar{ | |
width: 80%; | |
margin: auto; | |
padding: 1%; | |
text-align: right; | |
} |
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
/* Great fixed layout! It looks pixel-perfect | |
* anywhere but doesn't scale well. | |
*/ | |
#topbar{ | |
width: 785px; | |
padding: 5px; | |
text-align: right; | |
} |
NewerOlder