Hi,
Looks like you question was orphaned. I'd see no harm in trying it again as a new post. Sometimes, a post with a few replies is assumed answered. You certainly gave it a fair amount of time.
I don't see an answer myself, but then I don't have the experience of many folks here. One thing I'd focus on (as you said it worked fine in VS 2005, is to note what VS 2008 does differently. What do the Doctype and @page lines look like in each? What did you have in 05, HTML transitional, quirks mode? What do you have set for 08, XHTML?
I'd also note whether you did a clean install of VS 2008, or an upgrade - an upgrade may have carried forward settings that were helpful in 2005, but create problems in 2008.
If you copied code to get what you have, try generating similar code in 2008, and see if you can spot a discrepancy.
Good luck,
BRN..