--- Edwin Martin <edwin at bitstorm.nl> wrote: > Are you sure the code below is not in a function? > > ><a href="/index.php" <?php if($pagetag == "home") { ?> > >class="activePage" <?php } ?> ><span>Home</span></a> Absolutely sure. I've gone ahead and posted a page where you can view the full php code: http://www.sparklesparties.com/tom.html Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life [Those who say that I am finished, and am through, will have to run over my dead body to beat me...]