Stop the spiders from crawling partial areas of HTML code?

For instance if i have something towards the top of a page that i do not want to be crawled (because it might affect rankings) does anyone know of a way to have that omitted from the crawl but to also allow the rest of the HTML appearing on the page to continue to be crawled?

Regards,

Lee