Anyone want to take a guess at why, when I use this the below code to generate a body tag with the current page as the id (to have the current page menu item highlighted with CSS):
<body id="<?php echo wp_title(''); ?>">
I get this in the source, with the extra spaces in front of the title of the page:
<body id=" Home">
I think the extra spaces are not allowing my CSS to work.
(I'm not using the wp_list_pages in my header as I have some custom php to generate page URLs, so I using current_page in my CSS won't work.