Let's see if it works correctly!
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
/** | |
* Border is not inherited | |
*/ | |
#parent { | |
border: 10px dashed black; | |
} |
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, body, ul, li, p, h1, h2 { | |
margin: 0; | |
padding: 0; | |
} | |
html { | |
background: #111; | |
font: normal 11px Verdana, sans-serif; | |
color: #aaa; |
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
/** | |
* Negative margin eliminates space | |
*/ | |
span { | |
margin:0; | |
padding:0; | |
border:1px solid blue; | |
font-size:256px; | |
margin-left: -24px; | |
} |
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
/** | |
* Floated image and text flowing around it. | |
*/ | |
#image { | |
background: red; | |
float: right; | |
width: 100px; | |
height: 100px; | |
border: 2px white solid; | |
box-shadow: 0px 0px 1px 2px rgba(0,0,0,0.8); |
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
<?php | |
namespace Forms; | |
/** | |
* This file is supposed to give a good way of generating forms programmatically with PHP. | |
*/ | |
/* | |
* WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! | |
* ----------------------------------------------------------------------------------------------------------- | |
* None of the strings you see in the following classes are escaped/secured against any kind of |
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
/* | |
* Centered Menu | |
*/ | |
* { | |
padding: 0; | |
margin: 0; | |
} | |
body { | |
font-family: helvetica ,serif; |
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
<?php | |
$sql = <<<SQL | |
SELECT DISTINCT timeBlocks.date | |
FROM timeBlocks | |
WHERE timeBlocks.location = '{$appointmentLocation}' | |
AND timeBlocks.school = '{$_SESSION["school"]}' | |
AND timeBlocks.date >= DATE_ADD(curdate(), INTERVAL 1 DAY) |
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
<? | |
/** | |
* Player class, to describe a single player. | |
*/ | |
class Player { | |
protected $name; | |
/** |
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
#menu { | |
width: 900px; | |
margin: 0 auto; | |
} | |
#menu ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} |
OlderNewer