Problem solved - essentially, even though I gad taken the code from the book, somehow the <?php echo base_url() ?> had gotten screwed up upon rendering. Luckily I use Dreamweaver so I coudl see the rendered live code. If you don't have dreamweaver use Firebug from firefox to see live code.
