That syntax looks correct. I copied it to a new document and DW is not highlighting a syntax error on my page.
Sometimes DW will highlight a syntax error when there is none, and it wont go away till you toggle from code view to design and back again, or in some cases, close and re open the page.