Coda Clips

Start and current copyright year dates

<?php
// usage: place your start date into $start variable i.e. $start = '2008'
$start = '<<**SelectionInsertionPlaceholder**>>';
echo( ($start < date('Y') ? 'Copyright &copy; ' . $start . ' - ' . date('Y') . ', all rights reserved' : 'Copyright &copy; ' . $start . ', all rights reserved') );
?>

Added to by Patrick Lefevre

Install Clip


IE Conditional Comments

<!--[if IE]>
	<link rel="stylesheet" media="screen" type="text/css" href="<<**SelectionInsertionPlaceholder**>>"  />
<![endif]-->

Added to by Craig Hobson

Install Clip


Clearfix

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

Added to by Toby

Install Clip


@import CSS

<style type="text/css"> @import "<<**SelectionInsertionPlaceholder**>>"; </style>

Added to by Sam Brown

Install Clip


Table HTML

<table id="<<**SelectionInsertionPlaceholder**>>">
	<thead>
		<tr>
			<th scope="col" id=""></th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td></td>
		</tr>
	</tbody>
</table>

Added to by Sam Brown

Install Clip


Mailto: link

<a href="mailto:<<**SelectionInsertionPlaceholder**>>"></a>

Added to by Wavemaster

Install Clip


Open Blank Page (Valid XHTML)

<a onclick="window.open(this.href, '_blank'); return false;"  href="http://www."></a>

Added to by Steven Hambleton

Install Clip