Ian,
Did you, perhaps, modify the code a great deal? I know I have experienced similar issues when modifying the code so much that Dreamweaver simply cannot digest it as what it tries to read as traditional DW behavior. But as Ray said, if the code works, the denotation is not an issue whatsoever for the end user.