I need to display separately the first and second most recent posts from a category without using a loop. Below is what I've tried; the item1 div should display the most recent and the item2 div should display the second most recent.
<div class = 'item item1'>
<?php get_posts('numberposts=1&offset=1&category='); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><h3><?php the_title(); ?></h3></a>
<?php endwhile;?>
</div>
<div class = 'item item2'>
<?php get_posts('numberposts=2&offset=1&category='); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><h3><?php the_title(); ?></h3></a>
<?php endwhile;?>
</div>