Skip to content

Instantly share code, notes, and snippets.

/*********************
* Your CSS credits
* Branch CSS
*********************/
body {
font-family: Arial;
font-size: 14px;
color: #666666;
}
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b>: <input
type="button" value="Show" style="width:45px;font-
size:10px;margin:0px;padding:0px;" onClick="if
(this.parentNode.parentNode.getElementsByTagName('div')
[1].getElementsByTagName('div')[0].style.display != '') {
@jffkka
jffkka / Blix
Created October 10, 2010 21:43
^/Start Blix Document 1.0/^
^/Load stylesheets/^
loadfile.(style.css)
loadfile.ifIE(iestyle.css)
loadfile.(javascript.js)
^/End stylesheets/^
^/Define elements/^
*Name* = ['formname']
/* HTML */
<a class="button" href="#">
Button text
</a>
/* CSS */
.button {
-moz-border-radius: 3px;
<form name="form">
<input
type="button"
name="btn1"
class="htmlbutton"
value="Post this to your status"
title=""
onMouseOver="goLite(this.form.name,this.name)"
onMouseOut="goDim(this.form.name,this.name)">
</form>
<style type="text/css">
input.htmlbutton
{
font-size:15px;
font-family:Verdana,sans-serif;
color:#ffffff;
height:40px;
background-color:#999999;
background-image:url(http://i54.tinypic.com/kaffxw.png);
<?php
// Define your username and password
$username = "USERNAME HERE";
$password = "PASSWORD HERE";
if ($_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) {
?>
<h1>Login</h1>
You must login to see this private content.<br>
<form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<p><label for="txtUsername">Username:</label>