Code

You may use these HTML tags and attributes when leaving a comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CSS

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

Javascript With Line Numbers

/**
 * Adds min-height to #content so the sidebar always appears inside
 * this element
 */
$( function() {
	if ( body.is( '.sidebar' ) ) {
		var $sidebar   = $( '#tertiary' ),
			$widgetArea = $sidebar.find('.widget-area');

		var setMinHeight = function() {
			var topOffset = ( 0 == $sidebar.length ) ? 0 : parseInt( $sidebar.css( 'top' ) ),
				height = ( 0 == $widgetArea.length ) ? 0 : ( $widgetArea.height() ) ;

			if ( height > 0 && 'absolute' == $sidebar.css('position') )
				$( '#content' ).css( 'min-height', height + 'px' );
			else
				$( '#content' ).css( 'min-height', '' );
		}

		$widgetArea.resize( function( e ) {
			setMinHeight();
		});

		_window.resize( setMinHeight );
	}
} );

PHP/HTML With Max Height

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
		<div class="entry-thumbnail">
			<?php the_post_thumbnail(); ?>
		</div>
		<?php endif; ?>

		<?php if ( is_single() ) : ?>
		<h1 class="entry-title"><?php the_title(); ?></h1>
		<?php else : ?>
		<h1 class="entry-title">
			<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
		</h1>
		<?php endif; // is_single() ?>

		<div class="entry-meta clearfix">
			<?php wordpresscanvas_entry_meta(); ?>
		</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

	<?php if ( is_search() ) : // Only display Excerpts for Search ?>
	<div class="entry-summary">
		<?php the_excerpt(); ?>
	</div><!-- .entry-summary -->
	<?php else : ?>
	<div class="entry-content">
		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wordpresscanvas' ) ); ?>
		<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'wordpresscanvas' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
	</div><!-- .entry-content -->
	<?php endif; ?>

	<footer class="entry-meta clearfix">
		<?php wordpresscanvas_signature(); ?>
		<?php wordpresscanvas_share_buttons(); ?>
	</footer><!-- .entry-meta -->
</article><!-- #post -->

// CSS
[wc_pre color="1" wrap="0" scrollable="0" linenums="0" name="Clearfix CSS"]

// Javascript With Line Numbers
[wc_pre color="1" wrap="0" scrollable="0" linenums="1" name="Javascript"]

// PHP/HTML With Max Height
[wc_pre color="1" wrap="0" scrollable="1" linenums="0" name="PHP HTML"]

Screen Shot 2013-10-21 at 11.27.19 AM