Wonderful! You are a maestro at this. I would love to understand what it is you did here… cause I am having one pending weird bug on IE7 with the two column setup. If you have IE8 you can change it to IE7 mode and see what I mean.
Only on the first section of the two column setup, do you see that the third row has a freak column flushed to the right rather than left. It continues a column structure at a different point:
Check it out here: https://twingravity.thruhere.net:8888/ashevillenerd_com
This is the code:
<div class="c2" style="margin-top:20px;"><!-- Basic //-->
<h1 class="basic hr"><span>Basic Repairs and Diagnostics</span></h1>
<?php if ( is_page() ) { ?>
<?php
$args = array( 'post_parent' => 5, 'post_type'=> page, 'orderby'=> menu_order, 'numberposts'=> 10, 'order'=> ASC );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<?php static $count1 = 0; ?>
<div <?php if($count1%2) { echo 'class="last"'; } ?>>
<?php $pu_price = get_post_meta( $post->ID, 'pu_price', $single = true ); // grab price custom field ?>
<h2><em><?php the_title(); ?></em><span class="price">($<?php echo $pu_price ?>)</span></h2>
<p><?php $excerpt = get_post_meta($post->ID, 'excerpt', true); ?>
<?php echo $excerpt; ?></p>
</div>
<?php $count1++; ?>
<?php endforeach; ?>
<?php } ?>
</div><!-- c2 //-->
<div class="c2"><!-- Advanced //-->
<h1 class="advanced hr"><span>Advanced PC Windows and Mac Upgrades and Hardware Installations</span></h1>
<?php if ( is_page() ) { ?>
<?php
$args = array( 'post_parent' => 63, 'post_type'=> page, 'orderby'=> menu_order, 'numberposts'=> 10, 'order'=> ASC );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<?php static $count2 = 0; ?>
<div <?php if($count2%2) { echo 'class="last"'; } ?>>
<?php $pu_price = get_post_meta( $post->ID, 'pu_price', $single = true ); // grab price custom field ?>
<h2><em><?php the_title(); ?></em><span class="price">($<?php echo $pu_price ?>)</span></h2>
<p><?php $excerpt = get_post_meta($post->ID, 'excerpt', true); ?>
<?php echo $excerpt; ?></p>
</div>
<?php $count2++; ?>
<?php endforeach; ?>
<?php } ?>
</div><!-- c2 //-->
Thanks for walking me out almost completely out of the code “woods.”